forked from jriou/coller
Several changes to clients
coller: - Add FILENAME as positioned argument (fixes #18) - Add -html argument to show the URL of the webpage copier: - Rename -w to -ask-password both: - Rename -b to -ask-bearer Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
463e2e703b
commit
d43c645039
3 changed files with 35 additions and 10 deletions
|
@ -29,10 +29,10 @@ func handleMain() int {
|
|||
verbose := flag.Bool("verbose", false, "Print more logs")
|
||||
debug := flag.Bool("debug", false, "Print even more logs")
|
||||
password := flag.String("password", os.Getenv("COLLER_PASSWORD"), "Password to decrypt the note")
|
||||
askPassword := flag.Bool("w", false, "Read password from input")
|
||||
askPassword := flag.Bool("ask-password", false, "Read password from input")
|
||||
fileName := flag.String("file", "", "Write content of the note to a file")
|
||||
bearer := flag.String("bearer", os.Getenv("COLLER_BEARER"), "Bearer token")
|
||||
askBearer := flag.Bool("b", false, "Read bearer token from input")
|
||||
askBearer := flag.Bool("ask-bearer", false, "Read bearer token from input")
|
||||
|
||||
flag.Parse()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue