Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

end fix #5

Merged
merged 2 commits into from Jun 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions cmd/install.go
@@ -1,15 +1,18 @@
package cmd

import (


//_"github.com/Moldy-Community/moldy/core/config"

"github.com/spf13/cobra"
)


var createInstall bool

// configCmd represents the config command
var configCmd = &cobra.Command{
var installCmd = &cobra.Command{
Use: "install",
Short: "Search packages",
Long: `:
Expand All @@ -29,7 +32,7 @@ var configCmd = &cobra.Command{
}

func init() {
rootCmd.AddCommand(configCmd)
configCmd.Flags().BoolP(&createInstall, "url", false, "a command for download package")
rootCmd.AddCommand(installCmd)
installCmd.Flags().BooVarP(&createInstall, "url", false, "a command for download package")
}