nikoksr/proji

View on GitHub
cmd/projectSet.go

Summary

Maintainability
A
0 mins
Test Coverage
package cmd

import (
    "github.com/spf13/cobra"
)

type projectSetCommand struct {
    cmd *cobra.Command
}

func newProjectSetCommand() *projectSetCommand {
    cmd := &cobra.Command{
        Use:     "set",
        Short:   "Set project information",
        Aliases: []string{"s"},
    }

    cmd.AddCommand(newProjectSetPathCommand().cmd)

    return &projectSetCommand{cmd: cmd}
}