fsoc solution init

Create a new solution

Synopsis

This command creates a skeleton of a solution in the current directory.

Solution names must start with a lowercase letter and contain only lowercase letters and digits.

It creates a subdirectory named in the current directory and a solution manifest. Once the solution is created, the "solution extend" command can be used to add types and objects to it.

fsoc solution init <solution-name> [flags]

Examples

  fsoc solution init mycomponent
  fsoc solution init mymodule --solution-type=module --yaml

Options

  -h, --help                   help for init
      --solution-type string   The type of the solution you are creating (should be one of component, module, or application). (default "component")
      --yaml                   Use YAML format instead of JSON for the solution manifest and objects.

Options Inherited From Parent Commands

      --config string      config file (default is ~/.fsoc). May be .yaml or .json
      --curl               log curl equivalent for platform API calls (implies --verbose)
      --fields string      perform specified fields transform/extract JQ expression
      --log string         set a location and name for the fsoc log file (default "/tmp/fsoc.log")
      --no-version-check   skip the daily check for new versions of fsoc
  -o, --output string      output format (auto, table, detail, json, yaml) (default "auto")
      --profile string     access profile (default is current or "default")
  -v, --verbose            enable detailed output

See Also