We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Float64
Float
1 parent ef2b145 commit a1f65a0Copy full SHA for a1f65a0
docs/migrate-v2-to-v3.md
@@ -129,6 +129,40 @@ Shell command to find them all: `fgrep -rl github.com/urfave/cli/v2 *`
129
}
130
```
131
132
+### cli.Float64Flag
133
+
134
+=== "v2"
135
136
+ ```go
137
+ cli.Float64Flag{
138
+ // ...
139
+ }
140
+ ```
141
142
+=== "v3"
143
144
145
+ cli.FloatFlag{
146
147
148
149
150
+### cli.Context.Float64
151
152
153
154
155
+ // ctx is cli.Context
156
+ ctx.Float64("my-floating-flag")
157
158
159
160
161
162
+ // cmd is cli.Command
163
+ cmd.Float("my-floating-flag")
164
165
166
## Sources
167
168
### FilePath
0 commit comments