func (c *AddToken) Examples() []string {
	return []string{
		"",
		"mynamespace",
		"mynamespace myaccount",
	}
}
Examples lists a few example as array. Will be used in the command specific help.
package cmd
import (
	"fmt"
	"os"
	"github.com/yitsushi/go-commander"
	s "github.com/yitsushi/totp-cli/internal/storage"
	"github.com/yitsushi/totp-cli/internal/terminal"
)
type AddToken struct{}
func (c *AddToken) Execute(opts *commander.CommandHelper) {
	var (
		namespace *s.Namespace
		account   *s.Account
		err       error
	)
	nsName, accName, token := c.askForAddTokenDetails(opts)
	storage, err := s.PrepareStorage()
	if err != nil {
		fmt.Printf("Error: %s\n", err.Error())
		os.Exit(1)
	}
	namespace, err = storage.FindNamespace(nsName)
	if err != nil {
		namespace = &s.Namespace{Name: nsName}
		storage.Namespaces = append(storage.Namespaces, namespace)
	}
	account, err = namespace.FindAccount(accName)
	if err == nil {
		fmt.Printf("%s.%s exists!\n", namespace.Name, account.Name)
	}
	account = &s.Account{Name: accName, Token: token}
	namespace.Accounts = append(namespace.Accounts, account)
	err = storage.Save()
	if err != nil {
		fmt.Printf("Error: %s\n", err.Error())
		os.Exit(1)
	}
}
func (c *AddToken) ArgumentDescription() string {
	return "[namespace] [account]"
}
func (c *AddToken) Description() string {
	return "Add new token"
}
func (c *AddToken) Help() string {
	return ""
}