Sha256: 2c28f043c9aa35b3628bd63fc805343a03453435dd6938a94e2b1ed329bf45ad

Contents?: true

Size: 598 Bytes

Versions: 2

Compression:

Stored size: 598 Bytes

Contents

command "create app" do |c|
  c.syntax = "brief create app NAME"
  c.description = "create a new brief app"

  c.option '--clone EXISTING_APP', String, 'Clone an existing app'

  c.action do |args, options|
    name = args.first
  end
end

command "create briefcase" do |c|
  c.syntax = "brief create app PATH"
  c.description = "create a new briefcase"

  c.option '--app APP_NAME', String, 'Use the specified app'
  c.option '--use-local-models', nil, 'When using an app, this option will copy over the models locally instead, so you can customize them.'

  c.action do |args, options|
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brief-1.11.5 lib/brief/cli/create.rb
brief-1.11.4 lib/brief/cli/create.rb