CLI wrapper for Docker-based projects
$ npm install -g forumone-cli
$ f1 COMMAND
running command...
$ f1 (-v|--version|version)
forumone-cli/1.7.1 darwin-x64 node-v10.16.3
$ f1 --help [COMMAND]
USAGE
$ f1 COMMAND
...
f1 build
f1 cap:stage
f1 composer
f1 doctor
f1 down
f1 drush
f1 help [COMMAND]
f1 init
f1 new TARGET
f1 run SERVICE
f1 theme:build
f1 theme:watch
f1 up
f1 wp
build or rebuild all images
USAGE
$ f1 build
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
--[no-]parallel build in parallel (defaults to true)
--[no-]pull pull latest docker image versions (defaults to true)
See code: src/commands/build.ts
create new capistrano stage(s)
USAGE
$ f1 cap:stage
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
See code: src/commands/cap/stage.ts
run composer commands
USAGE
$ f1 composer
OPTIONS
-h, --help show CLI help
Putting "--" at the end of your command, then adding additional flags (like --help) will run that flag
on the native command
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
See code: src/commands/composer.ts
diagnose potential issues
USAGE
$ f1 doctor
OPTIONS
-h, --help show CLI help
-v, --verbose print system info
See code: src/commands/doctor.ts
stop and optionally clean a project
USAGE
$ f1 down
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--clean remove images and volumes
--dry-run print command instead of running it
See code: src/commands/down.ts
run drush commands
USAGE
$ f1 drush
OPTIONS
-h, --help show CLI help
Putting "--" at the end of your command, then adding additional flags (like --help) will run that flag
on the native command
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
See code: src/commands/drush.ts
display help for f1
USAGE
$ f1 help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
create a new project in the current directory
USAGE
$ f1 init
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
--next use prerelease generator for testing
--sub-generator=manifest|buildkite-pipeline|code-quality run a specific sub-generator within generator-web-starter
See code: src/commands/init.ts
Create a new project in a new directory.
USAGE
$ f1 new TARGET
ARGUMENTS
TARGET directory name to create
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
--next use prerelease generator for testing
--sub-generator=manifest|buildkite-pipeline|code-quality run a specific sub-generator within generator-web-starter
See code: src/commands/new.ts
run an arbitrary compose service
USAGE
$ f1 run SERVICE
ARGUMENTS
SERVICE compose service name
OPTIONS
-h, --help show CLI help
Putting "--" at the end of your command, then adding additional flags (like --help) will run that flag
on the native command
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
See code: src/commands/run.ts
[DEPRECATED] run gesso-related build tasks
USAGE
$ f1 theme:build
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--css build CSS
--dry-run print command instead of running it
--pattern-lab build PL
See code: src/commands/theme/build.ts
[DEPRECATED] run gesso-related watch tasks
USAGE
$ f1 theme:watch
OPTIONS
-h, --help show CLI help
-v, --verbose print command information prior to execution
--css watch CSS
--dry-run print command instead of running it
--pattern-lab watch PL
See code: src/commands/theme/watch.ts
start a project up
USAGE
$ f1 up
OPTIONS
-f, --foreground run compose in the foreground
-h, --help show CLI help
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
--xdebug enable xdebug in the container
--xdebug-profile Enables the triggering of xdebug's profiler. See https://xdebug.org/docs/profiler for how to trigger
these requests.
See code: src/commands/up.ts
run wp-cli commands
USAGE
$ f1 wp
OPTIONS
-h, --help show CLI help
Putting "--" at the end of your command, then adding additional flags (like --help) will run that flag
on the native command
-v, --verbose print command information prior to execution
--dry-run print command instead of running it
See code: src/commands/wp.ts