Skip to content

Commit

Permalink
Refactors
Browse files Browse the repository at this point in the history
Removed ouput flag now uses arg[0]
  • Loading branch information
ondrovic committed Sep 9, 2024
1 parent f323b51 commit a6b6f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project:
☐ convert items to that are needed
make it so the output is args[0] and then we do flags
☐ convert items toLower that are needed
make it so the output is args[0] and then we do flags @done(24-08-27 14:46)
☐ refactor cli some not everything is in a single file
☐ swap out pfterm with bubble tea this will be a good project for it
☐ code cleanup after
Expand Down
1 change: 0 additions & 1 deletion repo-stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func initFlags(cmd *cobra.Command) {
cmd.Flags().StringVarP(&repoOwner, "owner", "o", "ondrovic", "Repository owner")
cmd.Flags().StringVarP(&repoName, "repo", "r", "vscode", "Repository name")
cmd.Flags().StringVarP(&branch, "branch", "b", "master", "Branch name")
// cmd.Flags().StringVarP(&outputDirectory, "output", "d", "", "Output directory")
cmd.Flags().BoolVarP(&includeMakeFile, "makefile", "m", false, "Does your project need a makefile?")
cmd.Flags().StringVarP(&projectLanguage, "project-language", "p", "go", "What language is your app?")
cmd.Flags().BoolVarP(&overwriteExistingFiles, "overwrite", "w", false, "Overwrite existing files?")
Expand Down

0 comments on commit a6b6f43

Please sign in to comment.