smithfarm / dochazka-cli

Dochazka CLI client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Store last username and server URL in ~/.dochazka-cli-last #9

Closed smithfarm closed 8 years ago

smithfarm commented 8 years ago

For user comfort, store the last explicitly given username and server URL in ~/.dochazka-cli-last and use them as the default if not provided on the command line.

smithfarm commented 8 years ago

On second thought, this is too much trouble when the user can simply make an alias, e.g.:

$ alias dochazka='dochazka-cli -u mrtuba https://dochazka.tubasrus.com'