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

Fix submit command usage #1065

Merged
merged 7 commits into from
May 7, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmd/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ import (

// submitCmd lets people upload a solution to the website.
var submitCmd = &cobra.Command{
Use: "submit FILE1 [FILE2 ...]",
Use: "submit [FILE1 ...]",
ErikSchierboom marked this conversation as resolved.
Show resolved Hide resolved
Aliases: []string{"s"},
Short: "Submit your solution to an exercise.",
Long: `Submit your solution to an Exercism exercise.

Call the command with the list of files you want to submit.
If you omit the list of files, the CLI will attempt to submit
the appropriate solution files for the exercise.
ErikSchierboom marked this conversation as resolved.
Show resolved Hide resolved
`,
RunE: func(cmd *cobra.Command, args []string) error {
cfg := config.NewConfig()
Expand Down
Loading