Add config options and commands using cobra #1

Closed
opened 1 year ago by CyberShell · 2 comments
Owner

https://github.com/spf13/cobra

Options:

  • --config, -c
  • --locations, -l For picking backup sources.
  • --destinations, -d For picking backup destinations.
https://github.com/spf13/cobra Options: - `--config`, `-c` - `--locations`, `-l` For picking backup sources. - `--destinations`, `-d` For picking backup destinations.
CyberShell added this to the Plans project 1 year ago
CyberShell changed title from Add config options using cobra to Add config options and commands using cobra 1 year ago
Poster
Owner

-d will not be an option.

-l, -list will be.

`-d` will not be an option. `-l`, `-list` will be.
Poster
Owner

Add options for logging to stdOut and stdErr.

logging:
  verbose: true
  file: blah.log
  stderr: true
  stdout: false
Add options for logging to stdOut and stdErr. ```yaml logging: verbose: true file: blah.log stderr: true stdout: false ```
CyberShell closed this issue 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: CyberShell/backy#1
Loading…
There is no content yet.