Documentation
¶
Index ¶
Constants ¶
View Source
const CommandName = "cscman"
View Source
const FindCommandName = "find"
View Source
const RegisterCommandName = "register"
View Source
const Sha256CommandName = "sha256"
View Source
const SyncCommandName = "sync"
Variables ¶
View Source
var Command = &cobra.Command{ Use: CommandName, }
View Source
var FindCommand = &cobra.Command{ Use: FindCommandName + " FILE", Args: cobra.ExactArgs(1), Run: find, }
View Source
var RegisterCommand = &cobra.Command{ Use: RegisterCommandName + " NAME [URL]", Args: cobra.RangeArgs(1, 2), Run: register, }
View Source
var Sha256Command = &cobra.Command{ Use: Sha256CommandName + " SHA256", Args: cobra.ExactArgs(1), Run: sha256, }
View Source
var SyncCommand = &cobra.Command{ Use: SyncCommandName + " NAME", Args: cobra.ExactArgs(1), Run: sync, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.