github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/flags/memory.go (about) 1 package flags 2 3 import ( 4 "github.com/taubyte/tau-cli/common" 5 "github.com/urfave/cli/v2" 6 ) 7 8 var ( 9 Memory = &cli.StringFlag{ 10 Name: "memory", 11 Aliases: []string{"me"}, 12 Usage: "Max memory either in form 10GB or 10", 13 } 14 15 MemoryUnit = &cli.StringFlag{ 16 Name: "memory-unit", 17 Aliases: []string{"mu"}, 18 Usage: "Unit if not provided with memory; " + UsageOneOfOption(common.SizeUnitTypes), 19 } 20 )