You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pkg/definitions/consts.go
+14-13
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,19 @@ import (
6
6
7
7
// context constants
8
8
const (
9
-
AppName="Gorm Migrations [gormgx]"
10
-
AppDescription=`Gorm Migrations CLI utility manages SQL migrations for gorm. It implements the same API as Django migrations, so you should be at home if coming from Django.`
11
-
AppUsage="Making database changes ease, manageable and maintainable"
AppDescription=`Gorm Migrations CLI utility manages SQL migrations for gorm. It implements the same API as Django migrations, so you should be at home if coming from Django.`
11
+
AppUsage="Making database changes ease, manageable and maintainable"
IntializeCmdUsage="intializes the default gormgx configuration. It create gormgx.yaml in the current working directory"
32
+
InitializeCmdUsage="initializes the default gormgx configuration. It create gormgx.yaml in the current working directory"
32
33
MakemigrationsCmdUsage="analyzes models and create migrations"
33
34
ApplyCmdUsage="commits migrations to the database"
34
35
RevertCmdUsage="undoes the previously performed migration"
@@ -51,14 +52,14 @@ const (
51
52
typeIntentint
52
53
53
54
const (
54
-
// IntialIntent ...
55
-
IntialIntentIntent=iota
55
+
// InitialIntent ...
56
+
InitialIntentIntent=iota
56
57
57
58
// AfterIntialIntent ...
58
-
AfterIntialIntent
59
+
AfterInitialIntent
59
60
)
60
61
61
62
// response message
62
63
var (
63
-
AfterIntializeMessage=emoji.Sprint(`:beer: Hurray!!! Gormgx has been intialized. Check "gormgx.yaml" file and amend it to your needs. Remember not to remove it`)
64
+
AfterInitializeMessage=emoji.Sprint(`:beer: Hurray!!! Gormgx has been intialized. Check "gormgx.yaml" file and amend it to your needs. Remember not to remove it`)
0 commit comments