Sebastian Thielrefactor171b1bf5 years agoHistory
20 lines · 523 B · Rust
RawDownload
#![forbid(unsafe_code)]#![deny(rust_2018_idioms)] #[cfg(all(not(feature = "lean-cli"), feature = "pretty-cli"))]mod porcelain;#[cfg(all(not(feature = "lean-cli"), feature = "pretty-cli"))]mod shared; use anyhow::Result; #[cfg(all(not(feature = "lean-cli"), feature = "pretty-cli"))]fn main() -> Result<()> {    porcelain::main()} #[cfg(feature = "lean-cli")]fn main() -> Result<()> {    eprintln!("There is no lean version of the porcelain CLI. Please build with the 'pretty-cli' feature flag.");    Ok(())}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t