package
0.0.0-20211026085202-854ad97855da
Repository: https://github.com/g-node/gin-cli.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AddRemoteCmd sets up the 'add-remote' repository subcommand.
AddServerCmd sets up the 'add-server' command for adding new server configurations.
AnnexCmd sets up the 'annex' passthrough subcommand.
CheckError exits the program if an error is passed to the function.
CheckErrorMsg exits the program if an error is passed to the function.
CommitCmd sets up the 'commit' subcommand.
CreateCmd sets up the 'create' subcommand.
DeleteCmd sets up the 'delete' repository subcommand.
Die prints an error message to stderr and exits the program with status 1.
DownloadCmd sets up the 'download' subcommand.
Exit prints a message to stdout and exits the program with status 0.
GetCmd sets up the 'get' repository subcommand.
GetContentCmd sets up the 'get-content' subcommand.
GitCmd sets up the 'git' passthrough subcommand.
InfoCmd sets up the user 'info' subcommand.
InitCmd sets up the 'init' repository subcommand.
KeysCmd sets up the 'keys' list, add, delete subcommand(s).
LockCmd sets up the file 'lock' subcommand.
LoginCmd sets up the 'login' subcommand.
LogoutCmd sets up the 'logout' subcommand.
LsRepoCmd sets up the file 'ls' subcommand.
RemotesCmd sets up the 'remotes' subcommand.
RemoveContentCmd sets up the 'remove-content' subcommand.
RemoveRemoteCmd sets up the 'remove-remote' repository subcommand.
RemoveServerCmd sets up the 'remove-server' repository subcommand.
RepoInfoCmd sets up the 'repoinfo' listing subcommand.
ReposCmd sets up the 'repos' listing subcommand.
ServersCmd sets up the 'servers' subcommand.
SetUpCommands sets up all the subcommands for the client and returns the root command, ready to execute.
SyncCmd sets up the 'sync' subcommand.
UnlockCmd sets up the file 'unlock' subcommand.
UploadCmd sets up the 'upload' subcommand.
UseRemoteCmd sets up the 'use-remote' repository subcommand.
UseServerCmd sets up the 'use-server' subcommand.
VersionCmd sets up the 'version' subcommand.
Warn prints a warning message to stderr, logs it, and returns without interruption.
# Structs
VersionInfo holds the version numbers supplied by the linker flags in a convenient struct.