File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ Examples:
124124# # CLI Interface
125125
126126```
127- rollcron [ OPTIONS] [ REPO]
127+ rollcron [ OPTIONS] < REPO >
128128
129129Arguments:
130- [ REPO] Path to local repo or remote URL [ default: . ]
130+ < REPO > Path to local repo or remote URL (required)
131131
132132Options:
133- -i, - -interval <SECONDS > Pull interval [ default: 60 ]
134- -h, --help Print help
133+ --pull -interval <SECONDS > Pull interval [ default: 3600 ]
134+ -h, --help Print help
135135```
136136
137137## Error Handling
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ const CONFIG_FILE: &str = "rollcron.yaml";
1414#[ command( name = "rollcron" , about = "Auto-pulling cron scheduler" ) ]
1515struct Args {
1616 /// Path to local repo or remote URL (https://... or git@...)
17- #[ arg( default_value = "." ) ]
1817 repo : String ,
1918
2019 /// Pull interval in seconds
You can’t perform that action at this time.
0 commit comments