Command - 'create-sample'

Create Sample Configuration file templates

Options

ParameterTypeDescription
-poptionOptional path to output the sample files to. If not specified, the samples will be written to the 'current directory\samples'. -p is the alias for --path
-toptionThe type of sample to create. Either 'yaml' or 'json'. Defaults to creating both types if not specified. -t is the alias for --type

Configuration files are central to the bases cli, reducing the need for numerous command-line variables. The create-sample command generates several sample files, serving as a foundation for your environment. You can customize these files by adding or removing modules as needed.

Each configuration file functions as a server blueprint, with each module outlined. You're not restricted to one file per server; feel free to use multiple files if you prefer. The bases cli emphasizes usability and flexibility, allowing you to configure as you see fit

Creates both yaml and json samples to the 'current directory\samples'

bases create-sample

Creates a yaml sample to the 'current directory\samples'

bases create-sample -t yaml

Creates a json sample to the 'current directory\samples'

bases create-sample -t json

Creates a sample to the specified directory with the specified type

bases create-sample -p "e:\My Samples\" -t yaml

Password Security:

The bases cli uses a simple encryption algorithm to secure your passwords. This means that your passwords are not stored in plain text and are only accessible to the bases cli. This is a security measure to protect your passwords and ensure that they are not exposed to unauthorized users and means that you can store these configuration files and reuse them. Learn more about password security