Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8ba843

Browse files
committed
refactor(cmd): license add aliase
1 parent38985a8 commita8ba843

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎cmd/license.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ import (
1212

1313
// licenseCmd represents the license command
1414
varlicenseCmd=&cobra.Command{
15-
Use:"license",
16-
Short:"Add license to project",
15+
Use:"license",
16+
Short:"Add license to project",
17+
Aliases: []string{"l"},
1718
Run:func(cmd*cobra.Command,args []string) {
1819
iferr:=generator.NewLicenseGenerator().Generate();err!=nil {
1920
logrus.Fatal(err)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp