aboutsummaryrefslogtreecommitdiff
path: root/dotup_cli/src/commands/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dotup_cli/src/commands/init.rs')
-rw-r--r--dotup_cli/src/commands/init.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/dotup_cli/src/commands/init.rs b/dotup_cli/src/commands/init.rs
index bfec6ca..8765dbf 100644
--- a/dotup_cli/src/commands/init.rs
+++ b/dotup_cli/src/commands/init.rs
@@ -1,8 +1,11 @@
1use clap::Clap;
2
3use super::prelude::*; 1use super::prelude::*;
4 2
3/// Creates an empty depot file if one doesnt already exist.
4///
5/// By default this will create the file in the current directory
6/// but the --depot flag can be used to change this path.
5#[derive(Clap)] 7#[derive(Clap)]
8#[clap(setting = AppSettings::ColoredHelp)]
6pub struct Opts {} 9pub struct Opts {}
7 10
8pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { 11pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> {