-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GCLOUD2-13152: do not ask for 'default' profile overwrite if it's not initialized GCLOUD2-13152: create command for profiles GCLOUD2-13152: changes in config info and profile ls
- Loading branch information
Dmitrii Shelomentsev
committed
Apr 15, 2024
1 parent
2dc7e43
commit 74c75b8
Showing
22 changed files
with
1,163 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/G-core/gcore-cli/internal/commands" | ||
"github.com/G-core/gcore-cli/internal/core" | ||
) | ||
|
||
func main() { | ||
core.Execute() | ||
core.Execute(commands.Commands()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package commands | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
|
||
"github.com/G-core/gcore-cli/internal/commands/config" | ||
"github.com/G-core/gcore-cli/internal/commands/fastedge" | ||
initCmd "github.com/G-core/gcore-cli/internal/commands/init" | ||
) | ||
|
||
func Commands() []*cobra.Command { | ||
return []*cobra.Command{ | ||
fastedge.Commands(), | ||
initCmd.Commands(), | ||
config.Commands(), | ||
} | ||
} |
Oops, something went wrong.