diff options
author | Valery Piashchynski <[email protected]> | 2021-01-05 00:18:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-05 00:18:44 +0300 |
commit | 877b0ed461c7d5e1de87b7561f414aeb236cf3ec (patch) | |
tree | 2afdf6fa505f91043e4f22bfc7229d691e3da1d5 /cmd | |
parent | 984953a9db1d94817bda2e3d9266583151b1b437 (diff) |
Add dput.cf file for the ubuntu launchpad
Add a lot of comments to the exported functions
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cli/reset.go | 3 | ||||
-rw-r--r-- | cmd/cli/root.go | 7 | ||||
-rw-r--r-- | cmd/cli/version.go | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/cmd/cli/reset.go b/cmd/cli/reset.go index 03b470e5..504d88ad 100644 --- a/cmd/cli/reset.go +++ b/cmd/cli/reset.go @@ -12,7 +12,10 @@ import ( "github.com/vbauerster/mpb/v5/decor" ) +// List is the resetter.List RPC method const List string = "resetter.List" + +// Reset is the resetter.Reset RPC method const Reset string = "resetter.Reset" func init() { diff --git a/cmd/cli/root.go b/cmd/cli/root.go index 7b18a22f..06a84a82 100644 --- a/cmd/cli/root.go +++ b/cmd/cli/root.go @@ -17,8 +17,11 @@ import ( ) var ( - WorkDir string - CfgFile string + // WorkDir is working directory + WorkDir string + // CfgFile is path to the .rr.yaml + CfgFile string + // Container is the pointer to the Endure container Container *endure.Endure cfg *config.Viper root = &cobra.Command{ diff --git a/cmd/cli/version.go b/cmd/cli/version.go index 6a259668..89728bd2 100644 --- a/cmd/cli/version.go +++ b/cmd/cli/version.go @@ -2,8 +2,8 @@ package cli var ( // Version - defines build version. - Version string = "local" //nolint:deadcode + Version string = "local" // BuildTime - defined build time. - BuildTime string = "development" //nolint:deadcode + BuildTime string = "development" ) |