commonOptions top-level property
Implementation
final List<Option> commonOptions = [
Option(
name: '--env',
description: 'The environment to run the command in',
args: [
Arg(
name: 'environmen'
)
]
),
Option(
name: '--config',
description: 'The path to the config file',
args: [
Arg(
name: 'file path',
template: 'filepath'
)
]
),
Option(
name: '--options-path',
description: 'The path to a JSON file with additional options',
args: [
Arg(
name: 'file path',
template: 'filepath'
)
]
),
Option(
name: '--migrations-path',
description: 'The path to the migrations folder',
args: [
Arg(
name: 'folder path',
template: 'folder'
)
]
),
Option(
name: '--seeders-path',
description: 'The path to the seeders folder',
args: [
Arg(
name: 'folder path',
template: 'folder'
)
]
),
Option(
name: '--models-path',
description: 'The path to the models folder',
args: [
Arg(
name: 'folder path',
template: 'folder'
)
]
),
Option(
name: '--url',
description: 'The database connection string to use',
args: [
Arg(
name: 'connection strin'
)
]
),
Option(
name: '--debug',
description: 'When available show various debug information'
),
Option(
name: '--help',
description: 'Show help'
),
Option(
name: '--version',
description: 'Show version number'
)
];