Add config options and commands using cobra #1

Closed
opened 2022-11-19 03:38:12 +00:00 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 2022-11-19 03:38:12 +00:00
CyberShell changed title from Add config options using cobra to Add config options and commands using cobra 2023-01-09 21:37:28 +00:00
Author
Owner

-d will not be an option.

-l, -list will be.

`-d` will not be an option. `-l`, `-list` will be.
Author
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 ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CyberShell/backy#1
No description provided.