From d05605cb9959c060ff979ed1fd1f7e37f94aaffb Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Thu, 23 Jan 2025 04:27:24 +0000 Subject: [PATCH] - Update documentation domain to bashly.dev --- README.md | 4 +- bashly.gemspec | 2 +- examples/internal-run/README.md | 2 +- lib/bashly/cli.rb | 2 +- lib/bashly/docs/arg.yml | 16 +- lib/bashly/docs/command.yml | 46 +++--- lib/bashly/docs/env.yml | 14 +- lib/bashly/docs/flag.yml | 30 ++-- lib/bashly/docs/var.yml | 6 +- lib/bashly/views/wrapper/header.gtx | 2 +- schemas/bashly.json | 144 +++++++++--------- schemas/settings.json | 64 ++++---- schemas/strings.json | 72 ++++----- spec/approvals/cli/commands | 2 +- spec/approvals/cli/doc/env_Var | 2 +- spec/approvals/cli/doc/full | 112 +++++++------- spec/approvals/cli/generate/wrap-script | 2 +- spec/approvals/cli/shell/boot | 2 +- spec/approvals/script/wrapper/code | 2 +- spec/approvals/script/wrapper/code-wrapped | 2 +- .../workspaces/flag-args-with-dash/README.md | 2 +- support/schema/bashly.yml | 144 +++++++++--------- support/schema/settings.yml | 64 ++++---- 23 files changed, 369 insertions(+), 369 deletions(-) diff --git a/README.md b/README.md index 155f643c8..b90466a3e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Create feature-rich bash scripts using simple YAML configuration [![Build Status](https://github.com/DannyBen/bashly/workflows/Test/badge.svg)](https://github.com/DannyBen/bashly/actions?query=workflow%3ATest) [![Maintainability](https://api.codeclimate.com/v1/badges/8cf89047e50ca601e431/maintainability)](https://codeclimate.com/github/DannyBen/bashly/maintainability) -## [bashly.dannyb.co](https://bashly.dannyb.co) +## [bashly.dev](https://bashly.dev) --- @@ -76,6 +76,6 @@ Visit the *[How to contribute][contributing]* page for more information. [issues]: https://github.com/DannyBen/bashly/issues [discussions]: https://github.com/DannyBen/bashly/discussions -[docs]: https://bashly.dannyb.co/ +[docs]: https://bashly.dev/ [examples]: https://github.com/DannyBen/bashly/tree/master/examples#bashly-examples [contributing]: https://github.com/DannyBen/bashly/blob/master/CONTRIBUTING.md#how-to-contribute diff --git a/bashly.gemspec b/bashly.gemspec index f95ba260b..c2712d350 100644 --- a/bashly.gemspec +++ b/bashly.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |s| s.metadata = { 'bug_tracker_uri' => 'https://github.com/DannyBen/bashly/issues', 'changelog_uri' => 'https://github.com/DannyBen/bashly/blob/master/CHANGELOG.md', - 'homepage_uri' => 'https://bashly.dannyb.co/', + 'homepage_uri' => 'https://bashly.dev/', 'source_code_uri' => 'https://github.com/DannyBen/bashly', 'rubygems_mfa_required' => 'true', } diff --git a/examples/internal-run/README.md b/examples/internal-run/README.md index abb69607e..411955dff 100644 --- a/examples/internal-run/README.md +++ b/examples/internal-run/README.md @@ -20,7 +20,7 @@ want to consider using [lib functions] instead, for a more robust codebase. While this pattern of calling run internally is supported, you may want to -consider using [lib functions](https://bashly.dannyb.co/usage/writing-your-scripts/#adding-common-functions) +consider using [lib functions](https://bashly.dev/usage/writing-your-scripts/#adding-common-functions) instead. lib functions can help create a more robust and maintainable codebase by centralizing reusable logic. diff --git a/lib/bashly/cli.rb b/lib/bashly/cli.rb index 00e09370e..6708c40b5 100644 --- a/lib/bashly/cli.rb +++ b/lib/bashly/cli.rb @@ -7,7 +7,7 @@ class CLI def self.runner runner = MisterBin::Runner.new version: Bashly::VERSION, header: 'Bashly - Bash CLI Generator', - footer: "Help: m`bashly COMMAND --help`\nDocs: bu`https://bashly.dannyb.co`" + footer: "Help: m`bashly COMMAND --help`\nDocs: bu`https://bashly.dev`" runner.route 'init', to: Commands::Init runner.route 'preview', to: Commands::Preview diff --git a/lib/bashly/docs/arg.yml b/lib/bashly/docs/arg.yml index cc7970e4b..7ac03e977 100644 --- a/lib/bashly/docs/arg.yml +++ b/lib/bashly/docs/arg.yml @@ -1,6 +1,6 @@ arg: help: Define positional arguments. - url: https://bashly.dannyb.co/configuration/argument/ + url: https://bashly.dev/configuration/argument/ example: |- args: - name: user @@ -16,7 +16,7 @@ arg: arg.allowed: help: Specify a list of allowed values. Can be used in conjunction with `default` and `required`. - url: https://bashly.dannyb.co/configuration/argument/#allowed + url: https://bashly.dev/configuration/argument/#allowed example: |- args: - name: region @@ -35,7 +35,7 @@ arg.allowed: arg.default: help: Specify the value to apply when not provided by the user. - url: https://bashly.dannyb.co/configuration/argument/#default + url: https://bashly.dev/configuration/argument/#default example: |- args: - name: images @@ -44,7 +44,7 @@ arg.default: arg.help: help: Specify the help message for this argument. - url: https://bashly.dannyb.co/configuration/argument/#help + url: https://bashly.dev/configuration/argument/#help example: |- args: - name: user @@ -53,7 +53,7 @@ arg.help: arg.name: help: Specify the lowercase name of the argument. - url: https://bashly.dannyb.co/configuration/argument/#name + url: https://bashly.dev/configuration/argument/#name example: |- args: - name: user @@ -67,7 +67,7 @@ arg.repeatable: The argument below will be received as a space-delimited string which needs to be converted to an array with: `eval "data=(${args[file]})"` - url: https://bashly.dannyb.co/configuration/argument/#repeatable + url: https://bashly.dev/configuration/argument/#repeatable example: |- args: - name: file @@ -77,7 +77,7 @@ arg.repeatable: arg.required: help: Specify that this argument is required. - url: https://bashly.dannyb.co/configuration/argument/#required + url: https://bashly.dev/configuration/argument/#required example: |- args: - name: region @@ -87,7 +87,7 @@ arg.required: arg.validate: help: Apply custom validation functions. - url: https://bashly.dannyb.co/configuration/argument/#validate + url: https://bashly.dev/configuration/argument/#validate example: |- args: - name: path diff --git a/lib/bashly/docs/command.yml b/lib/bashly/docs/command.yml index a9536b193..4dd957adf 100644 --- a/lib/bashly/docs/command.yml +++ b/lib/bashly/docs/command.yml @@ -1,6 +1,6 @@ command: help: Define the root command, or any sub-command. - url: https://bashly.dannyb.co/configuration/command/ + url: https://bashly.dev/configuration/command/ example: |- name: rush help: Personal package manager @@ -17,7 +17,7 @@ command: command.alias: help: Specify one or more aliases for this sub-command. - url: https://bashly.dannyb.co/configuration/command/#alias + url: https://bashly.dev/configuration/command/#alias example: |- # Define a single alias command: @@ -36,7 +36,7 @@ command.alias: command.args: help: Define a list of positional arguments. See `arg` for reference. - url: https://bashly.dannyb.co/configuration/command/#args + url: https://bashly.dev/configuration/command/#args example: |- args: - name: repo @@ -45,7 +45,7 @@ command.args: command.catch_all: help: Specify that this command should allow for additional arbitrary arguments or flags. - url: https://bashly.dannyb.co/configuration/command/#catch_all + url: https://bashly.dev/configuration/command/#catch_all example: |- commands: - name: download @@ -67,7 +67,7 @@ command.catch_all: command.commands: help: Define a list of sub-commands. See `command` for reference. - url: https://bashly.dannyb.co/configuration/command/#commands + url: https://bashly.dev/configuration/command/#commands example: |- commands: - name: add @@ -76,7 +76,7 @@ command.commands: command.completions: help: Specify a list of additional completion suggestions when used in conjunction with `bashly add completions`. - url: https://bashly.dannyb.co/configuration/command/#completions + url: https://bashly.dev/configuration/command/#completions example: |- commands: - name: view @@ -88,7 +88,7 @@ command.completions: command.default: help: Specify that this sub-command will be executed implicitly. - url: https://bashly.dannyb.co/configuration/command/#default + url: https://bashly.dev/configuration/command/#default example: |- # This command will execute when the command line is not # recognized. @@ -106,7 +106,7 @@ command.default: command.dependencies: help: Specify a list of required external commands that are needed to run this command. - url: https://bashly.dannyb.co/configuration/command/#dependencies + url: https://bashly.dev/configuration/command/#dependencies example: |- # Array syntax dependencies: @@ -128,7 +128,7 @@ command.dependencies: command.environment_variables: help: Define a list of environment variables. See `environment_variable` for reference. - url: https://bashly.dannyb.co/configuration/command/#environment_variables + url: https://bashly.dev/configuration/command/#environment_variables example: |- environment_variables: - name: config_path @@ -140,7 +140,7 @@ command.environment_variables: command.examples: help: Define one or more example messages. - url: https://bashly.dannyb.co/configuration/command/#examples + url: https://bashly.dev/configuration/command/#examples example: |- # Use an array of examples for simple one-liners. examples: @@ -159,7 +159,7 @@ command.examples: command.expose: help: Specify that the sub-commands of this command should be visible when showing the usage of its parent. - url: https://bashly.dannyb.co/configuration/command/#expose + url: https://bashly.dev/configuration/command/#expose example: |- name: cli commands: @@ -190,7 +190,7 @@ command.expose: command.extensible: help: Specify that this command can be extended by external means. - url: https://bashly.dannyb.co/configuration/command/#extensible + url: https://bashly.dev/configuration/command/#extensible example: |- name: mygit help: Wrapper for git @@ -206,7 +206,7 @@ command.extensible: command.filename: help: Specify the path (relative to src) to the partial source code file. - url: https://bashly.dannyb.co/configuration/command/#filename + url: https://bashly.dev/configuration/command/#filename example: |- commands: - name: connect @@ -215,7 +215,7 @@ command.filename: command.filters: help: Specify a list of custom filter functions that will prevent the command from running unless certain conditions are met. - url: https://bashly.dannyb.co/configuration/command/#filters + url: https://bashly.dev/configuration/command/#filters example: |- commands: - name: container @@ -235,7 +235,7 @@ command.filters: command.flags: help: Define a list of option flags. See `flag` for reference. - url: https://bashly.dannyb.co/configuration/command/#flags + url: https://bashly.dev/configuration/command/#flags example: |- flags: - long: --purge @@ -244,13 +244,13 @@ command.flags: command.footer: help: Specify a message to show at the bottom of the help text. - url: https://bashly.dannyb.co/configuration/command/#footer + url: https://bashly.dev/configuration/command/#footer example: |- footer: For further help visit https://my.docs-site.com command.function: help: Specify a different base function name for this command. - url: https://bashly.dannyb.co/configuration/command/#function + url: https://bashly.dev/configuration/command/#function example: |- commands: - name: container-start @@ -271,7 +271,7 @@ command.function: command.group: help: Specify the group that this command belongs to. - url: https://bashly.dannyb.co/configuration/command/#group + url: https://bashly.dev/configuration/command/#group example: |- command: name: start @@ -280,7 +280,7 @@ command.group: command.help: help: Specify the help text to show when displaying usage. - url: https://bashly.dannyb.co/configuration/command/#help + url: https://bashly.dev/configuration/command/#help example: |- name: docker help: Runtime for containers @@ -291,7 +291,7 @@ command.help: command.name: help: Specify the name of the command. This option is required. - url: https://bashly.dannyb.co/configuration/command/#name + url: https://bashly.dev/configuration/command/#name example: |- name: docker help: Runtime for containers @@ -302,7 +302,7 @@ command.name: command.private: help: Specify that this command should not be displayed in the help text. - url: https://bashly.dannyb.co/configuration/command/#private + url: https://bashly.dev/configuration/command/#private example: |- commands: - name: completions @@ -311,7 +311,7 @@ command.private: command.variables: help: Define a list of global bash variables. See `variable` for reference. - url: https://bashly.dannyb.co/configuration/command/#variables + url: https://bashly.dev/configuration/command/#variables example: |- variables: # Simple value @@ -332,7 +332,7 @@ command.variables: command.version: help: Specify the version to show when running with `--version`. - url: https://bashly.dannyb.co/configuration/command/#version + url: https://bashly.dev/configuration/command/#version example: |- name: rush help: Personal package manager diff --git a/lib/bashly/docs/env.yml b/lib/bashly/docs/env.yml index 096cc0d5d..6fcfd9c2d 100644 --- a/lib/bashly/docs/env.yml +++ b/lib/bashly/docs/env.yml @@ -1,6 +1,6 @@ environment_variable: help: Define environment variables that will be in use in your script. - url: https://bashly.dannyb.co/configuration/environment-variable/ + url: https://bashly.dev/configuration/environment-variable/ example: |- environment_variables: - name: config_path @@ -12,7 +12,7 @@ environment_variable: environment_variable.default: help: Specify the value to apply when not provided by the user. - url: https://bashly.dannyb.co/configuration/environment-variable/#default + url: https://bashly.dev/configuration/environment-variable/#default example: |- environment_variables: - name: config_path @@ -21,7 +21,7 @@ environment_variable.default: environment_variable.help: help: Specify the help message for this variable. - url: https://bashly.dannyb.co/configuration/environment-variable/#help + url: https://bashly.dev/configuration/environment-variable/#help example: |- environment_variables: - name: api_key @@ -29,7 +29,7 @@ environment_variable.help: environment_variable.name: help: Specify the lowercase name of the variable. - url: https://bashly.dannyb.co/configuration/environment-variable/#name + url: https://bashly.dev/configuration/environment-variable/#name example: |- environment_variables: - name: api_key @@ -37,7 +37,7 @@ environment_variable.name: environment_variable.private: help: Specify that this environment variable should not be advertised in the usage text. - url: https://bashly.dannyb.co/configuration/environment-variable/#private + url: https://bashly.dev/configuration/environment-variable/#private example: |- environment_variables: - name: editor @@ -47,7 +47,7 @@ environment_variable.private: environment_variable.required: help: Specify that this variable is required. - url: https://bashly.dannyb.co/configuration/environment-variable/#required + url: https://bashly.dev/configuration/environment-variable/#required example: |- environment_variables: - name: api_key @@ -57,7 +57,7 @@ environment_variable.required: environment_variable.validate: help: Apply custom validation functions. - url: https://bashly.dannyb.co/configuration/environment-variable/#validate + url: https://bashly.dev/configuration/environment-variable/#validate example: |- environment_variables: - name: build_dir diff --git a/lib/bashly/docs/flag.yml b/lib/bashly/docs/flag.yml index 8cac689be..b444e4407 100644 --- a/lib/bashly/docs/flag.yml +++ b/lib/bashly/docs/flag.yml @@ -1,6 +1,6 @@ flag: help: Define option flags. - url: https://bashly.dannyb.co/configuration/flag/ + url: https://bashly.dev/configuration/flag/ example: |- flags: - long: --ssh @@ -15,7 +15,7 @@ flag: flag.allowed: help: Specify a list of allowed values. Can be used in conjunction with `default` and `required`, and must be accompanied by `arg`. - url: https://bashly.dannyb.co/configuration/flag/#allowed + url: https://bashly.dev/configuration/flag/#allowed example: |- flags: - long: --user @@ -38,7 +38,7 @@ flag.allowed: flag.arg: help: Specify the name of the argument for this flag, in case it requires any. - url: https://bashly.dannyb.co/configuration/flag/#arg + url: https://bashly.dev/configuration/flag/#arg example: |- flags: - long: --user @@ -48,7 +48,7 @@ flag.arg: flag.completions: help: Specify a list of additional completion suggestions when used in conjunction with `bashly add completions`. Must be accompanied by `arg`. - url: https://bashly.dannyb.co/configuration/flag/#completions + url: https://bashly.dev/configuration/flag/#completions example: |- flags: - long: --user @@ -65,7 +65,7 @@ flag.completions: flag.conflicts: help: Specify that this flag is mutually exclusive with one or more other flags. Use the long name of these conflicting flags. - url: https://bashly.dannyb.co/configuration/flag/#conflicts + url: https://bashly.dev/configuration/flag/#conflicts example: |- flags: - long: --cache @@ -88,7 +88,7 @@ flag.conflicts: flag.default: help: Specify the value to apply when not provided by the user. - url: https://bashly.dannyb.co/configuration/flag/#default + url: https://bashly.dev/configuration/flag/#default example: |- flags: - long: --environment @@ -98,7 +98,7 @@ flag.default: flag.help: help: Specify the help message for this flag. - url: https://bashly.dannyb.co/configuration/flag/#help + url: https://bashly.dev/configuration/flag/#help example: |- flags: - long: --cache @@ -106,7 +106,7 @@ flag.help: flag.long: help: Specify the long form of the flag, including the -- prefix. Either `long` or `short` is required. - url: https://bashly.dannyb.co/configuration/flag/#long + url: https://bashly.dev/configuration/flag/#long example: |- flags: - long: --ssh @@ -115,7 +115,7 @@ flag.long: flag.needs: help: Specify that this flag needs one or more additional flags. Use the long name of these needed flags. - url: https://bashly.dannyb.co/configuration/flag/#needs + url: https://bashly.dev/configuration/flag/#needs example: |- flags: - long: --add @@ -138,7 +138,7 @@ flag.needs: flag.private: help: Specify that this flag should not be displayed in the help text. - url: https://bashly.dannyb.co/configuration/flag/#private + url: https://bashly.dev/configuration/flag/#private example: |- flags: - long: --legacy @@ -151,7 +151,7 @@ flag.repeatable: Specify that this flag can be provided multiple times. When used on a flag with an argument, it will be received as a space-delimited string, which needs to be converted to an array with: `eval "data=(${args[--data]})"` - url: https://bashly.dannyb.co/configuration/flag/#repeatable + url: https://bashly.dev/configuration/flag/#repeatable example: |- flags: - long: --data @@ -168,7 +168,7 @@ flag.repeatable: flag.required: help: Specify that this flag is required. - url: https://bashly.dannyb.co/configuration/flag/#required + url: https://bashly.dev/configuration/flag/#required example: |- args: - long: --user @@ -178,7 +178,7 @@ flag.required: flag.short: help: Specify the short form of the flag, including the - prefix. Either `long` or `short` is required. - url: https://bashly.dannyb.co/configuration/flag/#short + url: https://bashly.dev/configuration/flag/#short example: |- - long: --user short: -u @@ -187,7 +187,7 @@ flag.short: flag.unique: help: Specify that the arguments provided by this repeatable flag must be unique. When this is set to `true`, non-unique values will be ignored. - url: https://bashly.dannyb.co/configuration/flag/#unique + url: https://bashly.dev/configuration/flag/#unique example: |- flags: - long: --path @@ -199,7 +199,7 @@ flag.unique: flag.validate: help: Apply custom validation functions. Must be accompanied by `arg`. - url: https://bashly.dannyb.co/configuration/flag/#validate + url: https://bashly.dev/configuration/flag/#validate example: |- flags: - long: --config diff --git a/lib/bashly/docs/var.yml b/lib/bashly/docs/var.yml index ff9ee07b5..8bf6377c4 100644 --- a/lib/bashly/docs/var.yml +++ b/lib/bashly/docs/var.yml @@ -1,6 +1,6 @@ variable: help: Define variables that will be available to your script. - url: https://bashly.dannyb.co/configuration/variable/ + url: https://bashly.dev/configuration/variable/ example: |- variables: # Simple value @@ -21,7 +21,7 @@ variable: variable.name: help: Specify the name of the variable. - url: https://bashly.dannyb.co/configuration/variable/#name + url: https://bashly.dev/configuration/variable/#name example: |- variables: - name: output_folder @@ -31,7 +31,7 @@ variable.value: help: |- Specify the value for this variable. This can be any value type, including array and hash (associative array). - url: https://bashly.dannyb.co/configuration/variable/#value + url: https://bashly.dev/configuration/variable/#value example: |- variables: # Simple value diff --git a/lib/bashly/views/wrapper/header.gtx b/lib/bashly/views/wrapper/header.gtx index 787275ab3..0a662f8d3 100644 --- a/lib/bashly/views/wrapper/header.gtx +++ b/lib/bashly/views/wrapper/header.gtx @@ -1,6 +1,6 @@ > #!/usr/bin/env bash if Settings.enabled? :header_comment - > # This script was generated by bashly {{ Bashly::VERSION }} (https://bashly.dannyb.co) + > # This script was generated by bashly {{ Bashly::VERSION }} (https://bashly.dev) > # Modifying it manually is not recommended end > diff --git a/schemas/bashly.json b/schemas/bashly.json index f415cde81..28514d62e 100644 --- a/schemas/bashly.json +++ b/schemas/bashly.json @@ -3,7 +3,7 @@ "definitions": { "argument": { "title": "argument", - "description": "A positional argument of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/argument/", + "description": "A positional argument of the current script or sub-command\nhttps://bashly.dev/configuration/argument/", "type": "object", "required": [ "name" @@ -11,7 +11,7 @@ "properties": { "name": { "title": "name", - "description": "A name of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#name", + "description": "A name of the current positional argument\nhttps://bashly.dev/configuration/argument/#name", "type": "string", "minLength": 1, "examples": [ @@ -20,7 +20,7 @@ }, "help": { "title": "help", - "description": "A description of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#help", + "description": "A description of the current positional argument\nhttps://bashly.dev/configuration/argument/#help", "type": "string", "minLength": 1, "examples": [ @@ -29,7 +29,7 @@ }, "default": { "title": "default", - "description": "A default value of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#default", + "description": "A default value of the current positional argument\nhttps://bashly.dev/configuration/argument/#default", "oneOf": [ { "type": "string" @@ -48,13 +48,13 @@ }, "required": { "title": "required", - "description": "Whether the current positional argument is required\nhttps://bashly.dannyb.co/configuration/argument/#required", + "description": "Whether the current positional argument is required\nhttps://bashly.dev/configuration/argument/#required", "type": "boolean", "default": true }, "allowed": { "title": "allowed", - "description": "Valid values of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#allowed", + "description": "Valid values of the current positional argument\nhttps://bashly.dev/configuration/argument/#allowed", "type": "array", "minItems": 1, "uniqueItems": true, @@ -69,13 +69,13 @@ }, "repeatable": { "title": "repeatable", - "description": "Whether the current positional argument can be repeated\nhttps://bashly.dannyb.co/configuration/argument/#repeatable", + "description": "Whether the current positional argument can be repeated\nhttps://bashly.dev/configuration/argument/#repeatable", "type": "boolean", "default": false }, "validate": { "title": "validate", - "description": "A validation function of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#validate", + "description": "A validation function of the current positional argument\nhttps://bashly.dev/configuration/argument/#validate", "type": "string", "examples": [ "file_exists", @@ -86,7 +86,7 @@ }, "unique": { "title": "unique", - "description": "Whether the current positional argument is unique\nhttps://bashly.dannyb.co/configuration/argument/#unique", + "description": "Whether the current positional argument is unique\nhttps://bashly.dev/configuration/argument/#unique", "type": "boolean", "default": false } @@ -113,7 +113,7 @@ }, "flag": { "title": "flag", - "description": "A flag of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/flag/", + "description": "A flag of the current script or sub-command\nhttps://bashly.dev/configuration/flag/", "type": "object", "anyOf": [ { @@ -130,7 +130,7 @@ "properties": { "long": { "title": "long", - "description": "A long form of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#long", + "description": "A long form of the current flag\nhttps://bashly.dev/configuration/flag/#long", "type": "string", "pattern": "^--", "examples": [ @@ -139,7 +139,7 @@ }, "short": { "title": "short", - "description": "A short form of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#short", + "description": "A short form of the current flag\nhttps://bashly.dev/configuration/flag/#short", "type": "string", "pattern": "^-[^-]", "examples": [ @@ -148,7 +148,7 @@ }, "help": { "title": "help", - "description": "A description of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#help", + "description": "A description of the current flag\nhttps://bashly.dev/configuration/flag/#help", "type": "string", "minLength": 1, "examples": [ @@ -157,7 +157,7 @@ }, "arg": { "title": "arg", - "description": "An argument name of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#arg", + "description": "An argument name of the current flag\nhttps://bashly.dev/configuration/flag/#arg", "type": "string", "minLength": 1, "examples": [ @@ -166,7 +166,7 @@ }, "default": { "title": "default", - "description": "A default value of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#default", + "description": "A default value of the current flag\nhttps://bashly.dev/configuration/flag/#default", "oneOf": [ { "type": "string" @@ -185,13 +185,13 @@ }, "required": { "title": "required", - "description": "Whether the current flag is required\nhttps://bashly.dannyb.co/configuration/flag/#required", + "description": "Whether the current flag is required\nhttps://bashly.dev/configuration/flag/#required", "type": "boolean", "default": true }, "allowed": { "title": "allowed", - "description": "Valid values of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#allowed", + "description": "Valid values of the current flag\nhttps://bashly.dev/configuration/flag/#allowed", "type": "array", "minItems": 1, "uniqueItems": true, @@ -206,7 +206,7 @@ }, "conflicts": { "title": "conflicts", - "description": "Mutually exclusive flags of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#conflicts", + "description": "Mutually exclusive flags of the current flag\nhttps://bashly.dev/configuration/flag/#conflicts", "type": "array", "minItems": 1, "uniqueItems": true, @@ -221,7 +221,7 @@ }, "needs": { "title": "needs", - "description": "Additional flags required by the current flag\nhttps://bashly.dannyb.co/configuration/flag/#needs", + "description": "Additional flags required by the current flag\nhttps://bashly.dev/configuration/flag/#needs", "type": "array", "minItems": 1, "uniqueItems": true, @@ -236,7 +236,7 @@ }, "completions": { "title": "completions", - "description": "Completions of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#completions", + "description": "Completions of the current flag\nhttps://bashly.dev/configuration/flag/#completions", "type": "array", "minItems": 1, "uniqueItems": true, @@ -248,19 +248,19 @@ }, "private": { "title": "private", - "description": "Whether the current flag is hidden from help\nhttps://bashly.dannyb.co/configuration/flag/#private", + "description": "Whether the current flag is hidden from help\nhttps://bashly.dev/configuration/flag/#private", "type": "boolean", "default": false }, "repeatable": { "title": "repeatable", - "description": "Whether the current flag can be repeated\nhttps://bashly.dannyb.co/configuration/flag/#repeatable", + "description": "Whether the current flag can be repeated\nhttps://bashly.dev/configuration/flag/#repeatable", "type": "boolean", "default": false }, "validate": { "title": "validate", - "description": "A validation function of the current flag\nhttps://bashly.dannyb.co/configuration/flag/#validate", + "description": "A validation function of the current flag\nhttps://bashly.dev/configuration/flag/#validate", "type": "string", "examples": [ "file_exists", @@ -271,7 +271,7 @@ }, "unique": { "title": "unique", - "description": "Whether the current flag is unique\nhttps://bashly.dannyb.co/configuration/flag/#unique", + "description": "Whether the current flag is unique\nhttps://bashly.dev/configuration/flag/#unique", "type": "boolean", "default": false } @@ -298,7 +298,7 @@ }, "environment-variable": { "title": "environment variable", - "description": "An environment variable of the current application\nhttps://bashly.dannyb.co/configuration/environment-variable/#environment-variable", + "description": "An environment variable of the current application\nhttps://bashly.dev/configuration/environment-variable/#environment-variable", "type": "object", "required": [ "name" @@ -306,7 +306,7 @@ "properties": { "name": { "title": "name", - "description": "A name of the current environment variable\nhttps://bashly.dannyb.co/configuration/environment-variable/#name", + "description": "A name of the current environment variable\nhttps://bashly.dev/configuration/environment-variable/#name", "type": "string", "minLength": 1, "examples": [ @@ -315,7 +315,7 @@ }, "help": { "title": "help", - "description": "A description of the current environment variable\nhttps://bashly.dannyb.co/configuration/environment-variable/#help", + "description": "A description of the current environment variable\nhttps://bashly.dev/configuration/environment-variable/#help", "type": "string", "minLength": 1, "examples": [ @@ -324,19 +324,19 @@ }, "private": { "title": "private", - "description": "Whether the current environment variable is hidden from help\nhttps://bashly.dannyb.co/configuration/environment-variable/#private", + "description": "Whether the current environment variable is hidden from help\nhttps://bashly.dev/configuration/environment-variable/#private", "type": "boolean", "default": false }, "required": { "title": "required", - "description": "Whether the current environment variable is required\nhttps://bashly.dannyb.co/configuration/environment-variable/#required", + "description": "Whether the current environment variable is required\nhttps://bashly.dev/configuration/environment-variable/#required", "type": "boolean", "default": true }, "validate": { "title": "validate", - "description": "A validation function for the current environment variable\nhttps://bashly.dannyb.co/configuration/environment-variable/#validate", + "description": "A validation function for the current environment variable\nhttps://bashly.dev/configuration/environment-variable/#validate", "type": "string", "examples": [ "file_exists", @@ -347,7 +347,7 @@ }, "allowed": { "title": "allowed", - "description": "Valid values of the current environment variable\nhttps://bashly.dannyb.co/configuration/environment-variable/#allowed", + "description": "Valid values of the current environment variable\nhttps://bashly.dev/configuration/environment-variable/#allowed", "type": "array", "minItems": 1, "uniqueItems": true, @@ -362,7 +362,7 @@ }, "default": { "title": "default", - "description": "A default value of the current environment variable\nhttps://bashly.dannyb.co/configuration/environment-variable/#default", + "description": "A default value of the current environment variable\nhttps://bashly.dev/configuration/environment-variable/#default", "type": "string", "examples": [ "~/config.ini" @@ -382,7 +382,7 @@ }, "variable": { "title": "variable", - "description": "A global bash variable\nhttps://bashly.dannyb.co/configuration/variable/#variable", + "description": "A global bash variable\nhttps://bashly.dev/configuration/variable/#variable", "type": "object", "required": [ "name" @@ -390,7 +390,7 @@ "properties": { "name": { "title": "name", - "description": "A name for the current variable\nhttps://bashly.dannyb.co/configuration/variable/#name", + "description": "A name for the current variable\nhttps://bashly.dev/configuration/variable/#name", "type": "string", "minLength": 1, "examples": [ @@ -399,7 +399,7 @@ }, "value": { "title": "value", - "description": "A value for the current variable\nhttps://bashly.dannyb.co/configuration/variable/#value", + "description": "A value for the current variable\nhttps://bashly.dev/configuration/variable/#value", "examples": [ "./output", [ @@ -426,7 +426,7 @@ }, "name-property": { "title": "name", - "description": "A name of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#name", + "description": "A name of the current script or sub-command\nhttps://bashly.dev/configuration/command/#name", "type": "string", "minLength": 1, "examples": [ @@ -438,7 +438,7 @@ "title": "alias", "oneOf": [ { - "description": "An alias of the current sub-command\nhttps://bashly.dannyb.co/configuration/command/#alias", + "description": "An alias of the current sub-command\nhttps://bashly.dev/configuration/command/#alias", "type": "string", "minLength": 1, "examples": [ @@ -446,7 +446,7 @@ ] }, { - "description": "Aliases of the current sub-command\nhttps://bashly.dannyb.co/configuration/command/#alias", + "description": "Aliases of the current sub-command\nhttps://bashly.dev/configuration/command/#alias", "type": "array", "minItems": 1, "uniqueItems": true, @@ -463,7 +463,7 @@ }, "help-property": { "title": "help", - "description": "A description of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#help", + "description": "A description of the current script or sub-command\nhttps://bashly.dev/configuration/command/#help", "type": "string", "minLength": 1, "examples": [ @@ -472,7 +472,7 @@ }, "args-property": { "title": "args", - "description": "Arguments of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#args", + "description": "Arguments of the current script or sub-command\nhttps://bashly.dev/configuration/command/#args", "type": "array", "minItems": 1, "uniqueItems": true, @@ -482,7 +482,7 @@ }, "flags-property": { "title": "flags", - "description": "Flags of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#flags", + "description": "Flags of the current script or sub-command\nhttps://bashly.dev/configuration/command/#flags", "type": "array", "minItems": 1, "uniqueItems": true, @@ -492,7 +492,7 @@ }, "commands-property": { "title": "commands", - "description": "Subcommands of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#commands", + "description": "Subcommands of the current script or sub-command\nhttps://bashly.dev/configuration/command/#commands", "type": "array", "minItems": 1, "uniqueItems": true, @@ -503,7 +503,7 @@ "root-version-property": { "$comment": "'root-' prefix is used as this property is marked with 'Root Command Only' badge", "title": "version", - "description": "A version of the current script\nhttps://bashly.dannyb.co/configuration/command/#version", + "description": "A version of the current script\nhttps://bashly.dev/configuration/command/#version", "type": "string", "minLength": 1, "examples": [ @@ -512,7 +512,7 @@ }, "sub-command-default-property": { "title": "default", - "description": "Whether to use the current command as a fallback when CLI used incorrectly\nhttps://bashly.dannyb.co/configuration/command/#default", + "description": "Whether to use the current command as a fallback when CLI used incorrectly\nhttps://bashly.dev/configuration/command/#default", "oneOf": [ { "type": "boolean", @@ -528,7 +528,7 @@ }, "environment-variables-property": { "title": "environment variables", - "description": "Environment variables of the current application\nhttps://bashly.dannyb.co/configuration/environment-variable/#environment-variable", + "description": "Environment variables of the current application\nhttps://bashly.dev/configuration/environment-variable/#environment-variable", "type": "array", "minItems": 1, "uniqueItems": true, @@ -538,7 +538,7 @@ }, "variables-property": { "title": "variables", - "description": "Bash variables for the current application\nhttps://bashly.dannyb.co/configuration/command/#variables", + "description": "Bash variables for the current application\nhttps://bashly.dev/configuration/command/#variables", "type": "array", "minItems": 1, "uniqueItems": true, @@ -550,7 +550,7 @@ "title": "examples", "oneOf": [ { - "description": "An example of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#examples", + "description": "An example of the current script or sub-command\nhttps://bashly.dev/configuration/command/#examples", "type": "string", "minLength": 1, "examples": [ @@ -558,12 +558,12 @@ ] }, { - "description": "Examples of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#examples", + "description": "Examples of the current script or sub-command\nhttps://bashly.dev/configuration/command/#examples", "type": "array", "minItems": 1, "uniqueItems": true, "items": { - "description": "An example of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#examples", + "description": "An example of the current script or sub-command\nhttps://bashly.dev/configuration/command/#examples", "type": "string", "minLength": 1, "examples": [ @@ -575,7 +575,7 @@ }, "footer-property": { "title": "footer", - "description": "A description footer for the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#footer", + "description": "A description footer for the current script or sub-command\nhttps://bashly.dev/configuration/command/#footer", "type": "string", "minLength": 1, "examples": [ @@ -584,7 +584,7 @@ }, "sub-command-group-property": { "title": "group", - "description": "A group of the current sub-command\nhttps://bashly.dannyb.co/configuration/command/#group", + "description": "A group of the current sub-command\nhttps://bashly.dev/configuration/command/#group", "type": "string", "minLength": 1, "examples": [ @@ -593,7 +593,7 @@ }, "catch-all-property": { "title": "catch all", - "description": "Whether to allow additional arguments or flags for the current command\nhttps://bashly.dannyb.co/configuration/command/#catch_all", + "description": "Whether to allow additional arguments or flags for the current command\nhttps://bashly.dev/configuration/command/#catch_all", "oneOf": [ { "type": "boolean", @@ -610,7 +610,7 @@ "type": "object", "properties": { "label": { - "description": "A label for the current argument or flag\nhttps://bashly.dannyb.co/configuration/command/#catch_all", + "description": "A label for the current argument or flag\nhttps://bashly.dev/configuration/command/#catch_all", "type": "string", "minLength": 1, "examples": [ @@ -618,7 +618,7 @@ ] }, "help": { - "description": "A description for the current argument or flag\nhttps://bashly.dannyb.co/configuration/command/#catch_all", + "description": "A description for the current argument or flag\nhttps://bashly.dev/configuration/command/#catch_all", "type": "string", "minLength": 1, "examples": [ @@ -626,7 +626,7 @@ ] }, "required": { - "description": "Whether the current argument or flag is required\nhttps://bashly.dannyb.co/configuration/command/#catch_all", + "description": "Whether the current argument or flag is required\nhttps://bashly.dev/configuration/command/#catch_all", "type": "boolean", "default": false } @@ -637,7 +637,7 @@ }, "completions-property": { "title": "completions", - "description": "Completions of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#completions", + "description": "Completions of the current script or sub-command\nhttps://bashly.dev/configuration/command/#completions", "type": "array", "minItems": 1, "uniqueItems": true, @@ -675,12 +675,12 @@ }, "dependencies-command-property": { "title": "command", - "description": "Dependencies of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/dependency/#command", + "description": "Dependencies of the current script or sub-command\nhttps://bashly.dev/configuration/dependency/#command", "type": "array", "minItems": 1, "uniqueItems": true, "items": { - "description": "A dependency of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/dependency/#command", + "description": "A dependency of the current script or sub-command\nhttps://bashly.dev/configuration/dependency/#command", "type": "string", "minLength": 1, "examples": [ @@ -690,7 +690,7 @@ }, "dependencies-help-property": { "title": "help", - "description": "A help for the current dependency\nhttps://bashly.dannyb.co/configuration/dependency/#help", + "description": "A help for the current dependency\nhttps://bashly.dev/configuration/dependency/#help", "type": "string", "minLength": 1, "examples": [ @@ -701,12 +701,12 @@ "title": "dependencies", "oneOf": [ { - "description": "Dependencies of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/dependency/#dependency", + "description": "Dependencies of the current script or sub-command\nhttps://bashly.dev/configuration/dependency/#dependency", "type": "array", "minItems": 1, "uniqueItems": true, "items": { - "description": "A dependency of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/dependency/#dependency", + "description": "A dependency of the current script or sub-command\nhttps://bashly.dev/configuration/dependency/#dependency", "oneOf": [ { "type": "string", @@ -719,11 +719,11 @@ } }, { - "description": "Dependencies of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/dependency/#dependency", + "description": "Dependencies of the current script or sub-command\nhttps://bashly.dev/configuration/dependency/#dependency", "type": "object", "patternProperties": { ".": { - "description": "A dependency of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/dependency/#dependency", + "description": "A dependency of the current script or sub-command\nhttps://bashly.dev/configuration/dependency/#dependency", "oneOf": [ { "type": "string", @@ -756,7 +756,7 @@ }, "sub-command-expose-property": { "title": "expose", - "description": "Whether to expose the current sub-command if it has sub-commands\nhttps://bashly.dannyb.co/configuration/command/#expose", + "description": "Whether to expose the current sub-command if it has sub-commands\nhttps://bashly.dev/configuration/command/#expose", "oneOf": [ { "type": "boolean", @@ -772,7 +772,7 @@ }, "root-extensible-property": { "title": "extensible", - "description": "Whether to delegate the current unknown command to an external executable\nhttps://bashly.dannyb.co/configuration/command/#extensible", + "description": "Whether to delegate the current unknown command to an external executable\nhttps://bashly.dev/configuration/command/#extensible", "oneOf": [ { "type": "boolean", @@ -788,7 +788,7 @@ }, "filename-property": { "title": "filename", - "description": "A partial file path of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#filename", + "description": "A partial file path of the current script or sub-command\nhttps://bashly.dev/configuration/command/#filename", "type": "string", "minLength": 1, "examples": [ @@ -797,7 +797,7 @@ }, "filters-property": { "title": "filters", - "description": "Filters of the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#filters", + "description": "Filters of the current script or sub-command\nhttps://bashly.dev/configuration/command/#filters", "type": "array", "minItems": 1, "items": { @@ -811,7 +811,7 @@ }, "function-property": { "title": "function", - "description": "An internal function for the current script or sub-command\nhttps://bashly.dannyb.co/configuration/command/#function", + "description": "An internal function for the current script or sub-command\nhttps://bashly.dev/configuration/command/#function", "type": "string", "minLength": 1, "examples": [ @@ -820,13 +820,13 @@ }, "sub-command-private-property": { "title": "private", - "description": "Whether hide the current sub-command from help\nhttps://bashly.dannyb.co/configuration/command/#private", + "description": "Whether hide the current sub-command from help\nhttps://bashly.dev/configuration/command/#private", "type": "boolean", "default": false }, "sub-command-import-property": { "title": "import", - "description": "A file import for the current sub-command\nhttps://bashly.dannyb.co/configuration/command/#import", + "description": "A file import for the current sub-command\nhttps://bashly.dev/configuration/command/#import", "type": "string", "minLength": 1, "examples": [ @@ -835,7 +835,7 @@ }, "command-property": { "title": "command", - "description": "A command of the current application\nhttps://bashly.dannyb.co/configuration/command/#command", + "description": "A command of the current application\nhttps://bashly.dev/configuration/command/#command", "type": "object", "properties": { "name": { @@ -915,7 +915,7 @@ } }, "title": "cli", - "description": "A CLI of the current application\nhttps://bashly.dannyb.co/usage/getting-started/", + "description": "A CLI of the current application\nhttps://bashly.dev/usage/getting-started/", "type": "object", "properties": { "name": { diff --git a/schemas/settings.json b/schemas/settings.json index d6477f188..bf285f506 100644 --- a/schemas/settings.json +++ b/schemas/settings.json @@ -35,40 +35,40 @@ } }, "title": "settings", - "description": "Settings of the current application\nhttps://bashly.dannyb.co/usage/settings/#settings", + "description": "Settings of the current application\nhttps://bashly.dev/usage/settings/#settings", "type": "object", "properties": { "source_dir": { "title": "source dir", - "description": "The path containing the bashly source files\nhttps://bashly.dannyb.co/usage/settings/#source_dir", + "description": "The path containing the bashly source files\nhttps://bashly.dev/usage/settings/#source_dir", "type": "string", "minLength": 1, "default": "src" }, "config_path": { "title": "config path", - "description": "The path to bashly.yml\nhttps://bashly.dannyb.co/usage/settings/#config_path", + "description": "The path to bashly.yml\nhttps://bashly.dev/usage/settings/#config_path", "type": "string", "minLength": 1, "default": "%{source_dir}/bashly.yml" }, "target_dir": { "title": "target dir", - "description": "The path to use for creating the bash script\nhttps://bashly.dannyb.co/usage/settings/#target_dir", + "description": "The path to use for creating the bash script\nhttps://bashly.dev/usage/settings/#target_dir", "type": "string", "minLength": 1, "default": "." }, "lib_dir": { "title": "lib dir", - "description": "The path to use for common library files, relative to source_dir\nhttps://bashly.dannyb.co/usage/settings/#lib_dir", + "description": "The path to use for common library files, relative to source_dir\nhttps://bashly.dev/usage/settings/#lib_dir", "type": "string", "minLength": 1, "default": "lib" }, "commands_dir": { "title": "commands dir", - "description": "The path to use for command files, relative to source_dir\nhttps://bashly.dannyb.co/usage/settings/#commands_dir", + "description": "The path to use for command files, relative to source_dir\nhttps://bashly.dev/usage/settings/#commands_dir", "oneOf": [ { "type": "string", @@ -81,7 +81,7 @@ }, "strict": { "title": "strict", - "description": "Configure the bash options that will be added to the initialize function\nhttps://bashly.dannyb.co/usage/settings/#strict", + "description": "Configure the bash options that will be added to the initialize function\nhttps://bashly.dev/usage/settings/#strict", "oneOf": [ { "type": "boolean" @@ -97,31 +97,31 @@ }, "tab_indent": { "title": "tab indent", - "description": "Whether to use tabs or spaces in the generated script\nhttps://bashly.dannyb.co/usage/settings/#tab_indent", + "description": "Whether to use tabs or spaces in the generated script\nhttps://bashly.dev/usage/settings/#tab_indent", "type": "boolean", "default": false }, "compact_short_flags": { "title": "compact short flags", - "description": "Whether to expand -abc to -a -b -c in the input line\nhttps://bashly.dannyb.co/usage/settings/#compact_short_flags", + "description": "Whether to expand -abc to -a -b -c in the input line\nhttps://bashly.dev/usage/settings/#compact_short_flags", "type": "boolean", "default": true }, "conjoined_flag_args": { "title": "conjoined flag args", - "description": "Whether to expand --flag=value to --flag value in the input line\nhttps://bashly.dannyb.co/usage/settings/#conjoined_flag_args", + "description": "Whether to expand --flag=value to --flag value in the input line\nhttps://bashly.dev/usage/settings/#conjoined_flag_args", "type": "boolean", "default": true }, "show_examples_on_error": { "title": "show examples on error", - "description": "Whether to show command examples when the input line is missing required arguments\nhttps://bashly.dannyb.co/usage/settings/#show_examples_on_error", + "description": "Whether to show command examples when the input line is missing required arguments\nhttps://bashly.dev/usage/settings/#show_examples_on_error", "type": "boolean", "default": true }, "env": { "title": "env", - "description": "Whether to include development related comments in the generated script\nhttps://bashly.dannyb.co/usage/settings/#env", + "description": "Whether to include development related comments in the generated script\nhttps://bashly.dev/usage/settings/#env", "type": "string", "enum": [ "development", @@ -131,7 +131,7 @@ }, "enable_header_comment": { "title": "enable_header_comment", - "description": "Whether to include the header comment in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_header_comment", + "description": "Whether to include the header comment in the generated script\nhttps://bashly.dev/usage/settings/#enable_header_comment", "type": "string", "enum": [ "development", @@ -143,7 +143,7 @@ }, "enable_bash3_bouncer": { "title": "enable_bash3_bouncer", - "description": "Whether to include the code snippet that aborts when an old version of bash is detected in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_bash3_bouncer", + "description": "Whether to include the code snippet that aborts when an old version of bash is detected in the generated script\nhttps://bashly.dev/usage/settings/#enable_bash3_bouncer", "type": "string", "enum": [ "development", @@ -155,7 +155,7 @@ }, "enable_view_markers": { "title": "enable_view_markers", - "description": "Whether to include view marker comments in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_view_markers", + "description": "Whether to include view marker comments in the generated script\nhttps://bashly.dev/usage/settings/#enable_view_markers", "type": "string", "enum": [ "development", @@ -167,7 +167,7 @@ }, "enable_inspect_args": { "title": "enable_inspect_args", - "description": "Whether to include the inspect_args function in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_inspect_args", + "description": "Whether to include the inspect_args function in the generated script\nhttps://bashly.dev/usage/settings/#enable_inspect_args", "type": "string", "enum": [ "development", @@ -179,7 +179,7 @@ }, "enable_deps_array": { "title": "enable_deps_array", - "description": "Whether to include the code for the dependencies array in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_deps_array", + "description": "Whether to include the code for the dependencies array in the generated script\nhttps://bashly.dev/usage/settings/#enable_deps_array", "type": "string", "enum": [ "development", @@ -191,7 +191,7 @@ }, "enable_env_var_names_array": { "title": "enable_env_var_names_array", - "description": "Whether to include the code for the env_var_names array in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_env_var_names_array", + "description": "Whether to include the code for the env_var_names array in the generated script\nhttps://bashly.dev/usage/settings/#enable_env_var_names_array", "type": "string", "enum": [ "development", @@ -203,7 +203,7 @@ }, "enable_sourcing": { "title": "enable_sourcing", - "description": "Whether to wrap the script execution in a condition that checks if the script is sourced\nhttps://bashly.dannyb.co/usage/settings/#enable_sourcing", + "description": "Whether to wrap the script execution in a condition that checks if the script is sourced\nhttps://bashly.dev/usage/settings/#enable_sourcing", "type": "string", "enum": [ "development", @@ -215,14 +215,14 @@ }, "partials_extension": { "title": "partials extension", - "description": "The extension to use when reading/writing partial script snippets\nhttps://bashly.dannyb.co/usage/settings/#partials_extension", + "description": "The extension to use when reading/writing partial script snippets\nhttps://bashly.dev/usage/settings/#partials_extension", "type": "string", "minLength": 1, "default": "sh" }, "private_reveal_key": { "title": "private reveal key", - "description": "The name of the environment variable (case sensitive) that, if set, will reveal private commands, flags and environment variables\nhttps://bashly.dannyb.co/usage/settings/#private_reveal_key", + "description": "The name of the environment variable (case sensitive) that, if set, will reveal private commands, flags and environment variables\nhttps://bashly.dev/usage/settings/#private_reveal_key", "oneOf": [ { "type": "string", @@ -235,32 +235,32 @@ }, "usage_colors": { "title": "usage colors", - "description": "Enable and configure colorful output for --help\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", + "description": "Enable and configure colorful output for --help\nhttps://bashly.dev/usage/settings/#usage_colors", "type": "object", "properties": { "caption": { "title": "caption", - "description": "Color for captions\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", + "description": "Color for captions\nhttps://bashly.dev/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "command": { "title": "command", - "description": "Color for commands\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", + "description": "Color for commands\nhttps://bashly.dev/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "arg": { "title": "arg", - "description": "Color for positional arguments\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", + "description": "Color for positional arguments\nhttps://bashly.dev/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "flag": { "title": "flag", - "description": "Color for flags\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", + "description": "Color for flags\nhttps://bashly.dev/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "environment_variable": { "title": "environment variable", - "description": "Color for env environment variables\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", + "description": "Color for env environment variables\nhttps://bashly.dev/usage/settings/#usage_colors", "$ref": "#/definitions/color" } }, @@ -268,12 +268,12 @@ }, "var_aliases": { "title": "var_aliases", - "description": "Declare alias names for bashly's public global arrays\nhttps://bashly.dannyb.co/usage/settings/#var_aliases", + "description": "Declare alias names for bashly's public global arrays\nhttps://bashly.dev/usage/settings/#var_aliases", "type": "object", "properties": { "args": { "title": "args", - "description": "Alias name for the args array\nhttps://bashly.dannyb.co/usage/settings/#var_aliases", + "description": "Alias name for the args array\nhttps://bashly.dev/usage/settings/#var_aliases", "oneOf": [ { "type": "string", @@ -286,7 +286,7 @@ }, "other_args": { "title": "other_args", - "description": "Alias name for the other_args array (used when catch_all is enabled)\nhttps://bashly.dannyb.co/usage/settings/#var_aliases", + "description": "Alias name for the other_args array (used when catch_all is enabled)\nhttps://bashly.dev/usage/settings/#var_aliases", "oneOf": [ { "type": "string", @@ -299,7 +299,7 @@ }, "deps": { "title": "deps", - "description": "Alias name for the deps array\nhttps://bashly.dannyb.co/usage/settings/#var_aliases", + "description": "Alias name for the deps array\nhttps://bashly.dev/usage/settings/#var_aliases", "oneOf": [ { "type": "string", @@ -312,7 +312,7 @@ }, "env_var_names": { "title": "env_var_names", - "description": "Alias name for the env_var_names array\nhttps://bashly.dannyb.co/usage/settings/#var_aliases", + "description": "Alias name for the env_var_names array\nhttps://bashly.dev/usage/settings/#var_aliases", "oneOf": [ { "type": "string", diff --git a/schemas/strings.json b/schemas/strings.json index 3b740aa2f..d826d5351 100644 --- a/schemas/strings.json +++ b/schemas/strings.json @@ -1,250 +1,250 @@ { "$schema": "https://json.schemastore.org/metaschema-draft-07-unofficial-strict.json", "title": "strings", - "description": "Strings of the generated script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "Strings of the generated script\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "object", "properties": { "usage": { "title": "usage", - "description": "The caption for the usage patterns\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the usage patterns\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Usage:" }, "options": { "title": "options", - "description": "The caption for the options section\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the options section\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Options:" }, "global_options": { "title": "global_options", - "description": "The caption for the options section, when a command has flags and sub-commands\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the options section, when a command has flags and sub-commands\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Options:" }, "arguments": { "title": "arguments", - "description": "The caption for the argument section\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the argument section\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Arguments:" }, "commands": { "title": "commands", - "description": "The caption for the command section\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the command section\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Commands:" }, "examples": { "title": "examples", - "description": "The caption for the examples section\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the examples section\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Examples:" }, "environment_variables": { "title": "environment variables", - "description": "The caption for the environment variables section\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption for the environment variables section\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Environment Variables:" }, "group": { "title": "group", - "description": "The caption template for custom command groups\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The caption template for custom command groups\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{group} Commands:" }, "command_alias": { "title": "command alias", - "description": "The string template for a command alias\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string template for a command alias\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Alias: %{alias}" }, "default_command_summary": { "title": "default command summary", - "description": "The string template for the summary of a default command\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string template for the summary of a default command\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{summary} (default)" }, "required": { "title": "required", - "description": "The string suffix for required arguments, flags, or commands\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string suffix for required arguments, flags, or commands\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "(required)" }, "repeatable": { "title": "repeatable", - "description": "The string suffix for repeatable arguments, flags, or commands\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string suffix for repeatable arguments, flags, or commands\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "(repeatable)" }, "default": { "title": "default", - "description": "The string template for a default argument or flag\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string template for a default argument or flag\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Default: %{value}" }, "allowed": { "title": "allowed", - "description": "The string template for the list of allowed values\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string template for the list of allowed values\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Allowed: %{values}" }, "needs": { "title": "needs", - "description": "The string template for the list of needed flags\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string template for the list of needed flags\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Needs: %{values}" }, "conflicts": { "title": "conflicts", - "description": "The string template for the list of conflicting flags\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string template for the list of conflicting flags\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Conflicts: %{values}" }, "help_flag_text": { "title": "help flag text", - "description": "The help message for --help\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The help message for --help\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Show this help" }, "version_flag_text": { "title": "version flag text", - "description": "The help message for --version\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The help message for --version\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Show version number" }, "flag_requires_an_argument": { "title": "flag requires an argument", - "description": "The error message template for missing flag argument\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for missing flag argument\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} requires an argument: %{usage}" }, "flag_needs_another": { "title": "flag needs another flag", - "description": "The error message template for missing flag needs\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for missing flag needs\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} needs %{need}" }, "invalid_argument": { "title": "invalid argument", - "description": "The error message template for invalid argument\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for invalid argument\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "invalid argument: %s" }, "invalid_flag": { "title": "invalid flag", - "description": "The error message template for invalid flag\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for invalid flag\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "invalid option: %s" }, "invalid_command": { "title": "invalid command", - "description": "The error message template for invalid command\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for invalid command\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "invalid command: %s" }, "conflicting_flags": { "title": "conflicting flags", - "description": "The error message template for conflicting flags\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for conflicting flags\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "conflicting options: %s cannot be used with %s" }, "missing_required_argument": { "title": "missing required argument", - "description": "The error message template for missing required argument\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for missing required argument\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing required argument: %{arg}\\nusage: %{usage}" }, "missing_required_flag": { "title": "missing required flag", - "description": "The error message template for missing required flag\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for missing required flag\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing required flag: %{usage}" }, "missing_required_environment_variable": { "title": "missing required environment variable", - "description": "The error message template for missing required environment variable\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for missing required environment variable\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing required environment variable: %{var}" }, "missing_dependency": { "title": "missing dependency", - "description": "The error message template for missing dependency\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for missing dependency\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing dependency: %{dependency}" }, "examples_caption_on_error": { "title": "examples caption on error", - "description": "The string to show before the examples when show_examples_on_error is enabled\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The string to show before the examples when show_examples_on_error is enabled\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "examples:" }, "disallowed_flag": { "title": "disallowed flag", - "description": "The error message template for forbidden flag\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for forbidden flag\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} must be one of: %{allowed}" }, "disallowed_argument": { "title": "disallowed argument", - "description": "The error message template for forbidden argument\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for forbidden argument\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} must be one of: %{allowed}" }, "disallowed_environment_variable": { "title": "disallowed_environment_variable", - "description": "The error message template for forbidden environment variable\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for forbidden environment variable\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} environment variable must be one of: %{allowed}" }, "unsupported_bash_version": { "title": "unsupported bash version", - "description": "The error message for unsupported Bash version\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message for unsupported Bash version\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "bash version 4 or higher is required" }, "validation_error": { "title": "validation error", - "description": "The error message template for failed custom validation\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for failed custom validation\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "validation error in %s:\\n%s" }, "environment_variable_validation_error": { "title": "environment variable validation error", - "description": "The error message template for failed custom validation for environment variables\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", + "description": "The error message template for failed custom validation for environment variables\nhttps://bashly.dev/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "validation error in environment variable %s:\\n%s" diff --git a/spec/approvals/cli/commands b/spec/approvals/cli/commands index 32bab6536..6b5b416a3 100644 --- a/spec/approvals/cli/commands +++ b/spec/approvals/cli/commands @@ -12,4 +12,4 @@ Commands: shell Start an interactive bashly shell Help: bashly COMMAND --help -Docs: https://bashly.dannyb.co +Docs: https://bashly.dev diff --git a/spec/approvals/cli/doc/env_Var b/spec/approvals/cli/doc/env_Var index a56b30521..0aba5e510 100644 --- a/spec/approvals/cli/doc/env_Var +++ b/spec/approvals/cli/doc/env_Var @@ -10,5 +10,5 @@ environment_variable help: Your API key required: true - See https://bashly.dannyb.co/configuration/environment-variable/ + See https://bashly.dev/configuration/environment-variable/ diff --git a/spec/approvals/cli/doc/full b/spec/approvals/cli/doc/full index c276fbf4a..ac7784b6f 100644 --- a/spec/approvals/cli/doc/full +++ b/spec/approvals/cli/doc/full @@ -14,7 +14,7 @@ arg - admin - guest - See https://bashly.dannyb.co/configuration/argument/ + See https://bashly.dev/configuration/argument/ arg.allowed @@ -36,7 +36,7 @@ arg.allowed allowed: [stage, production, development] default: development - See https://bashly.dannyb.co/configuration/argument/#allowed + See https://bashly.dev/configuration/argument/#allowed arg.default @@ -47,7 +47,7 @@ arg.default help: Image files to convert. default: "*.jpg" - See https://bashly.dannyb.co/configuration/argument/#default + See https://bashly.dev/configuration/argument/#default arg.help @@ -58,7 +58,7 @@ arg.help help: AWS Username. required: true - See https://bashly.dannyb.co/configuration/argument/#help + See https://bashly.dev/configuration/argument/#help arg.name @@ -69,7 +69,7 @@ arg.name help: AWS Username. required: true - See https://bashly.dannyb.co/configuration/argument/#name + See https://bashly.dev/configuration/argument/#name arg.repeatable @@ -85,7 +85,7 @@ arg.repeatable required: true repeatable: true - See https://bashly.dannyb.co/configuration/argument/#repeatable + See https://bashly.dev/configuration/argument/#repeatable arg.required @@ -96,7 +96,7 @@ arg.required help: Region to connect to required: true - See https://bashly.dannyb.co/configuration/argument/#required + See https://bashly.dev/configuration/argument/#required arg.validate @@ -106,7 +106,7 @@ arg.validate - name: path validate: file_exists - See https://bashly.dannyb.co/configuration/argument/#validate + See https://bashly.dev/configuration/argument/#validate command @@ -125,7 +125,7 @@ command required: true help: Repository name. - See https://bashly.dannyb.co/configuration/command/ + See https://bashly.dev/configuration/command/ command.alias @@ -146,7 +146,7 @@ command.alias name: server alias: s* - See https://bashly.dannyb.co/configuration/command/#alias + See https://bashly.dev/configuration/command/#alias command.args @@ -157,7 +157,7 @@ command.args required: true help: Repository name. - See https://bashly.dannyb.co/configuration/command/#args + See https://bashly.dev/configuration/command/#args command.catch_all @@ -182,7 +182,7 @@ command.catch_all help: Files to upload required: true - See https://bashly.dannyb.co/configuration/command/#catch_all + See https://bashly.dev/configuration/command/#catch_all command.commands @@ -193,7 +193,7 @@ command.commands alias: a help: Register a local repository - See https://bashly.dannyb.co/configuration/command/#commands + See https://bashly.dev/configuration/command/#commands command.completions @@ -208,7 +208,7 @@ command.completions - - $(git branch 2> /dev/null) - See https://bashly.dannyb.co/configuration/command/#completions + See https://bashly.dev/configuration/command/#completions command.default @@ -228,7 +228,7 @@ command.default help: Run all tests default: force - See https://bashly.dannyb.co/configuration/command/#default + See https://bashly.dev/configuration/command/#default command.dependencies @@ -253,7 +253,7 @@ command.dependencies command: [curl, wget] help: Run 'sudo apt install curl' or 'sudo apt install wget' - See https://bashly.dannyb.co/configuration/command/#dependencies + See https://bashly.dev/configuration/command/#dependencies command.environment_variables @@ -268,7 +268,7 @@ command.environment_variables help: Your API key required: true - See https://bashly.dannyb.co/configuration/command/#environment_variables + See https://bashly.dev/configuration/command/#environment_variables command.examples @@ -289,7 +289,7 @@ command.examples Upload a file (you will be prompted to provide a password) $ cli upload profile.png --user admin - See https://bashly.dannyb.co/configuration/command/#examples + See https://bashly.dev/configuration/command/#examples command.expose @@ -323,7 +323,7 @@ command.expose - name: stop help: Stop the server - See https://bashly.dannyb.co/configuration/command/#expose + See https://bashly.dev/configuration/command/#expose command.extensible @@ -341,7 +341,7 @@ command.extensible # to it. extensible: git - See https://bashly.dannyb.co/configuration/command/#extensible + See https://bashly.dev/configuration/command/#extensible command.filename @@ -352,7 +352,7 @@ command.filename help: Connect to server filename: admin_commands/list.sh - See https://bashly.dannyb.co/configuration/command/#filename + See https://bashly.dev/configuration/command/#filename command.filters @@ -375,7 +375,7 @@ command.filters docker info >/dev/null 2>&1 || echo "Docker must be running" } - See https://bashly.dannyb.co/configuration/command/#filters + See https://bashly.dev/configuration/command/#filters command.flags @@ -386,7 +386,7 @@ command.flags short: -p help: Also remove the local directory. - See https://bashly.dannyb.co/configuration/command/#flags + See https://bashly.dev/configuration/command/#flags command.footer @@ -394,7 +394,7 @@ command.footer footer: For further help visit https://my.docs-site.com - See https://bashly.dannyb.co/configuration/command/#footer + See https://bashly.dev/configuration/command/#footer command.function @@ -417,7 +417,7 @@ command.function - name: start help: Start a new container - See https://bashly.dannyb.co/configuration/command/#function + See https://bashly.dev/configuration/command/#function command.group @@ -428,7 +428,7 @@ command.group help: Start the server group: Server - See https://bashly.dannyb.co/configuration/command/#group + See https://bashly.dev/configuration/command/#group command.help @@ -441,7 +441,7 @@ command.help - name: images help: Manage images - See https://bashly.dannyb.co/configuration/command/#help + See https://bashly.dev/configuration/command/#help command.name @@ -454,7 +454,7 @@ command.name - name: images help: Manage images - See https://bashly.dannyb.co/configuration/command/#name + See https://bashly.dev/configuration/command/#name command.private @@ -465,7 +465,7 @@ command.private help: Send bash completions private: true - See https://bashly.dannyb.co/configuration/command/#private + See https://bashly.dev/configuration/command/#private command.variables @@ -488,7 +488,7 @@ command.variables pattern: "*.json" compression_level: fast - See https://bashly.dannyb.co/configuration/command/#variables + See https://bashly.dev/configuration/command/#variables command.version @@ -498,7 +498,7 @@ command.version help: Personal package manager version: 0.6.5 - See https://bashly.dannyb.co/configuration/command/#version + See https://bashly.dev/configuration/command/#version environment_variable @@ -512,7 +512,7 @@ environment_variable help: Your API key required: true - See https://bashly.dannyb.co/configuration/environment-variable/ + See https://bashly.dev/configuration/environment-variable/ environment_variable.default @@ -523,7 +523,7 @@ environment_variable.default help: Location of the config file default: ~/config.ini - See https://bashly.dannyb.co/configuration/environment-variable/#default + See https://bashly.dev/configuration/environment-variable/#default environment_variable.help @@ -533,7 +533,7 @@ environment_variable.help - name: api_key help: Your API key - See https://bashly.dannyb.co/configuration/environment-variable/#help + See https://bashly.dev/configuration/environment-variable/#help environment_variable.name @@ -543,7 +543,7 @@ environment_variable.name - name: api_key help: Your API key - See https://bashly.dannyb.co/configuration/environment-variable/#name + See https://bashly.dev/configuration/environment-variable/#name environment_variable.private @@ -556,7 +556,7 @@ environment_variable.private default: vim private: true - See https://bashly.dannyb.co/configuration/environment-variable/#private + See https://bashly.dev/configuration/environment-variable/#private environment_variable.required @@ -567,7 +567,7 @@ environment_variable.required help: Your API key required: true - See https://bashly.dannyb.co/configuration/environment-variable/#required + See https://bashly.dev/configuration/environment-variable/#required environment_variable.validate @@ -577,7 +577,7 @@ environment_variable.validate - name: build_dir validate: dir_exists - See https://bashly.dannyb.co/configuration/environment-variable/#validate + See https://bashly.dev/configuration/environment-variable/#validate flag @@ -594,7 +594,7 @@ flag help: Repository user name required: true - See https://bashly.dannyb.co/configuration/flag/ + See https://bashly.dev/configuration/flag/ flag.allowed @@ -620,7 +620,7 @@ flag.allowed allowed: [ftp, ssh, http] default: ssh - See https://bashly.dannyb.co/configuration/flag/#allowed + See https://bashly.dev/configuration/flag/#allowed flag.arg @@ -632,7 +632,7 @@ flag.arg arg: name help: Specify the user name - See https://bashly.dannyb.co/configuration/flag/#arg + See https://bashly.dev/configuration/flag/#arg flag.completions @@ -652,7 +652,7 @@ flag.completions - ssh - telnet - See https://bashly.dannyb.co/configuration/flag/#completions + See https://bashly.dev/configuration/flag/#completions flag.conflicts @@ -678,7 +678,7 @@ flag.conflicts # Make sure to add the conflicting flags on both sides of the conflict conflicts: [--no-cache] - See https://bashly.dannyb.co/configuration/flag/#conflicts + See https://bashly.dev/configuration/flag/#conflicts flag.default @@ -690,7 +690,7 @@ flag.default help: Set environment name default: production - See https://bashly.dannyb.co/configuration/flag/#default + See https://bashly.dev/configuration/flag/#default flag.help @@ -700,7 +700,7 @@ flag.help - long: --cache help: Enable cache - See https://bashly.dannyb.co/configuration/flag/#help + See https://bashly.dev/configuration/flag/#help flag.long @@ -712,7 +712,7 @@ flag.long short: -s help: Clone using SSH - See https://bashly.dannyb.co/configuration/flag/#long + See https://bashly.dev/configuration/flag/#long flag.needs @@ -738,7 +738,7 @@ flag.needs help: Where to add the alias needs: [--add] - See https://bashly.dannyb.co/configuration/flag/#needs + See https://bashly.dev/configuration/flag/#needs flag.private @@ -750,7 +750,7 @@ flag.private help: Run using the legacy mode private: true - See https://bashly.dannyb.co/configuration/flag/#private + See https://bashly.dev/configuration/flag/#private flag.repeatable @@ -772,7 +772,7 @@ flag.repeatable help: Set verbosity level repeatable: true - See https://bashly.dannyb.co/configuration/flag/#repeatable + See https://bashly.dev/configuration/flag/#repeatable flag.required @@ -784,7 +784,7 @@ flag.required help: Repository user name required: true - See https://bashly.dannyb.co/configuration/flag/#required + See https://bashly.dev/configuration/flag/#required flag.short @@ -796,7 +796,7 @@ flag.short arg: name help: Repository user name - See https://bashly.dannyb.co/configuration/flag/#short + See https://bashly.dev/configuration/flag/#short flag.unique @@ -810,7 +810,7 @@ flag.unique repeatable: true unique: true - See https://bashly.dannyb.co/configuration/flag/#unique + See https://bashly.dev/configuration/flag/#unique flag.validate @@ -822,7 +822,7 @@ flag.validate help: Load configuration from a file validate: file_exists - See https://bashly.dannyb.co/configuration/flag/#validate + See https://bashly.dev/configuration/flag/#validate variable @@ -845,7 +845,7 @@ variable pattern: "*.json" compression_level: fast - See https://bashly.dannyb.co/configuration/variable/ + See https://bashly.dev/configuration/variable/ variable.name @@ -855,7 +855,7 @@ variable.name - name: output_folder value: output - See https://bashly.dannyb.co/configuration/variable/#name + See https://bashly.dev/configuration/variable/#name variable.value @@ -879,5 +879,5 @@ variable.value pattern: "*.json" compression_level: fast - See https://bashly.dannyb.co/configuration/variable/#value + See https://bashly.dev/configuration/variable/#value diff --git a/spec/approvals/cli/generate/wrap-script b/spec/approvals/cli/generate/wrap-script index d0fd8a485..ae52f561a 100644 --- a/spec/approvals/cli/generate/wrap-script +++ b/spec/approvals/cli/generate/wrap-script @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# This script was generated by bashly ... (https://bashly.dannyb.co) +# This script was generated by bashly ... (https://bashly.dev) # Modifying it manually is not recommended # :wrapper.wrapper diff --git a/spec/approvals/cli/shell/boot b/spec/approvals/cli/shell/boot index 4a4528606..cf0c94fa8 100644 --- a/spec/approvals/cli/shell/boot +++ b/spec/approvals/cli/shell/boot @@ -11,4 +11,4 @@ Commands: render Render the bashly data structure using custom templates Help: bashly COMMAND --help -Docs: https://bashly.dannyb.co +Docs: https://bashly.dev diff --git a/spec/approvals/script/wrapper/code b/spec/approvals/script/wrapper/code index bbe7971fa..1655d4182 100644 --- a/spec/approvals/script/wrapper/code +++ b/spec/approvals/script/wrapper/code @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# This script was generated by bashly ... (https://bashly.dannyb.co) +# This script was generated by bashly ... (https://bashly.dev) # Modifying it manually is not recommended # :wrapper.bash3_bouncer diff --git a/spec/approvals/script/wrapper/code-wrapped b/spec/approvals/script/wrapper/code-wrapped index cfbf31bba..51142b8a1 100644 --- a/spec/approvals/script/wrapper/code-wrapped +++ b/spec/approvals/script/wrapper/code-wrapped @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# This script was generated by bashly ... (https://bashly.dannyb.co) +# This script was generated by bashly ... (https://bashly.dev) # Modifying it manually is not recommended # :wrapper.wrapper diff --git a/spec/fixtures/workspaces/flag-args-with-dash/README.md b/spec/fixtures/workspaces/flag-args-with-dash/README.md index 2d69c1d62..dd7f79679 100644 --- a/spec/fixtures/workspaces/flag-args-with-dash/README.md +++ b/spec/fixtures/workspaces/flag-args-with-dash/README.md @@ -10,7 +10,7 @@ resembles a collection of short flags (i.e. single hyphen followed by alphanumeric characters), for example `--options -abc`, then the compact flags feature should be disabled with `compact_short_flags: false` in the settings. -See https://bashly.dannyb.co/usage/settings/#compact_short_flags +See https://bashly.dev/usage/settings/#compact_short_flags Reference issues: diff --git a/support/schema/bashly.yml b/support/schema/bashly.yml index 33bfd4dfe..1066053b7 100644 --- a/support/schema/bashly.yml +++ b/support/schema/bashly.yml @@ -4,7 +4,7 @@ definitions: title: argument description: |- A positional argument of the current script or sub-command - https://bashly.dannyb.co/configuration/argument/ + https://bashly.dev/configuration/argument/ type: object required: - name @@ -13,7 +13,7 @@ definitions: title: name description: |- A name of the current positional argument - https://bashly.dannyb.co/configuration/argument/#name + https://bashly.dev/configuration/argument/#name type: string minLength: 1 examples: @@ -22,7 +22,7 @@ definitions: title: help description: |- A description of the current positional argument - https://bashly.dannyb.co/configuration/argument/#help + https://bashly.dev/configuration/argument/#help type: string minLength: 1 examples: @@ -31,7 +31,7 @@ definitions: title: default description: |- A default value of the current positional argument - https://bashly.dannyb.co/configuration/argument/#default + https://bashly.dev/configuration/argument/#default oneOf: - type: string - type: array @@ -44,14 +44,14 @@ definitions: title: required description: |- Whether the current positional argument is required - https://bashly.dannyb.co/configuration/argument/#required + https://bashly.dev/configuration/argument/#required type: boolean default: true allowed: title: allowed description: |- Valid values of the current positional argument - https://bashly.dannyb.co/configuration/argument/#allowed + https://bashly.dev/configuration/argument/#allowed type: array minItems: 1 uniqueItems: true @@ -65,14 +65,14 @@ definitions: title: repeatable description: |- Whether the current positional argument can be repeated - https://bashly.dannyb.co/configuration/argument/#repeatable + https://bashly.dev/configuration/argument/#repeatable type: boolean default: false validate: title: validate description: |- A validation function of the current positional argument - https://bashly.dannyb.co/configuration/argument/#validate + https://bashly.dev/configuration/argument/#validate type: string examples: - file_exists @@ -83,7 +83,7 @@ definitions: title: unique description: |- Whether the current positional argument is unique - https://bashly.dannyb.co/configuration/argument/#unique + https://bashly.dev/configuration/argument/#unique type: boolean default: false dependencies: @@ -102,7 +102,7 @@ definitions: title: flag description: |- A flag of the current script or sub-command - https://bashly.dannyb.co/configuration/flag/ + https://bashly.dev/configuration/flag/ type: object anyOf: - required: @@ -114,7 +114,7 @@ definitions: title: long description: |- A long form of the current flag - https://bashly.dannyb.co/configuration/flag/#long + https://bashly.dev/configuration/flag/#long type: string pattern: ^-- examples: @@ -123,7 +123,7 @@ definitions: title: short description: |- A short form of the current flag - https://bashly.dannyb.co/configuration/flag/#short + https://bashly.dev/configuration/flag/#short type: string pattern: ^-[^-] examples: @@ -132,7 +132,7 @@ definitions: title: help description: |- A description of the current flag - https://bashly.dannyb.co/configuration/flag/#help + https://bashly.dev/configuration/flag/#help type: string minLength: 1 examples: @@ -141,7 +141,7 @@ definitions: title: arg description: |- An argument name of the current flag - https://bashly.dannyb.co/configuration/flag/#arg + https://bashly.dev/configuration/flag/#arg type: string minLength: 1 examples: @@ -150,7 +150,7 @@ definitions: title: default description: |- A default value of the current flag - https://bashly.dannyb.co/configuration/flag/#default + https://bashly.dev/configuration/flag/#default oneOf: - type: string - type: array @@ -163,14 +163,14 @@ definitions: title: required description: |- Whether the current flag is required - https://bashly.dannyb.co/configuration/flag/#required + https://bashly.dev/configuration/flag/#required type: boolean default: true allowed: title: allowed description: |- Valid values of the current flag - https://bashly.dannyb.co/configuration/flag/#allowed + https://bashly.dev/configuration/flag/#allowed type: array minItems: 1 uniqueItems: true @@ -184,7 +184,7 @@ definitions: title: conflicts description: |- Mutually exclusive flags of the current flag - https://bashly.dannyb.co/configuration/flag/#conflicts + https://bashly.dev/configuration/flag/#conflicts type: array minItems: 1 uniqueItems: true @@ -198,7 +198,7 @@ definitions: title: needs description: |- Additional flags required by the current flag - https://bashly.dannyb.co/configuration/flag/#needs + https://bashly.dev/configuration/flag/#needs type: array minItems: 1 uniqueItems: true @@ -212,7 +212,7 @@ definitions: title: completions description: |- Completions of the current flag - https://bashly.dannyb.co/configuration/flag/#completions + https://bashly.dev/configuration/flag/#completions type: array minItems: 1 uniqueItems: true @@ -224,21 +224,21 @@ definitions: title: private description: |- Whether the current flag is hidden from help - https://bashly.dannyb.co/configuration/flag/#private + https://bashly.dev/configuration/flag/#private type: boolean default: false repeatable: title: repeatable description: |- Whether the current flag can be repeated - https://bashly.dannyb.co/configuration/flag/#repeatable + https://bashly.dev/configuration/flag/#repeatable type: boolean default: false validate: title: validate description: |- A validation function of the current flag - https://bashly.dannyb.co/configuration/flag/#validate + https://bashly.dev/configuration/flag/#validate type: string examples: - file_exists @@ -249,7 +249,7 @@ definitions: title: unique description: |- Whether the current flag is unique - https://bashly.dannyb.co/configuration/flag/#unique + https://bashly.dev/configuration/flag/#unique type: boolean default: false dependencies: @@ -263,7 +263,7 @@ definitions: title: environment variable description: |- An environment variable of the current application - https://bashly.dannyb.co/configuration/environment-variable/#environment-variable + https://bashly.dev/configuration/environment-variable/#environment-variable type: object required: - name @@ -272,7 +272,7 @@ definitions: title: name description: |- A name of the current environment variable - https://bashly.dannyb.co/configuration/environment-variable/#name + https://bashly.dev/configuration/environment-variable/#name type: string minLength: 1 examples: @@ -281,7 +281,7 @@ definitions: title: help description: |- A description of the current environment variable - https://bashly.dannyb.co/configuration/environment-variable/#help + https://bashly.dev/configuration/environment-variable/#help type: string minLength: 1 examples: @@ -290,21 +290,21 @@ definitions: title: private description: |- Whether the current environment variable is hidden from help - https://bashly.dannyb.co/configuration/environment-variable/#private + https://bashly.dev/configuration/environment-variable/#private type: boolean default: false required: title: required description: |- Whether the current environment variable is required - https://bashly.dannyb.co/configuration/environment-variable/#required + https://bashly.dev/configuration/environment-variable/#required type: boolean default: true validate: title: validate description: |- A validation function for the current environment variable - https://bashly.dannyb.co/configuration/environment-variable/#validate + https://bashly.dev/configuration/environment-variable/#validate type: string examples: - file_exists @@ -315,7 +315,7 @@ definitions: title: allowed description: |- Valid values of the current environment variable - https://bashly.dannyb.co/configuration/environment-variable/#allowed + https://bashly.dev/configuration/environment-variable/#allowed type: array minItems: 1 uniqueItems: true @@ -329,7 +329,7 @@ definitions: title: default description: |- A default value of the current environment variable - https://bashly.dannyb.co/configuration/environment-variable/#default + https://bashly.dev/configuration/environment-variable/#default type: string examples: - ~/config.ini @@ -339,7 +339,7 @@ definitions: title: variable description: |- A global bash variable - https://bashly.dannyb.co/configuration/variable/#variable + https://bashly.dev/configuration/variable/#variable type: object required: - name @@ -348,7 +348,7 @@ definitions: title: name description: |- A name for the current variable - https://bashly.dannyb.co/configuration/variable/#name + https://bashly.dev/configuration/variable/#name type: string minLength: 1 examples: @@ -357,7 +357,7 @@ definitions: title: value description: |- A value for the current variable - https://bashly.dannyb.co/configuration/variable/#value + https://bashly.dev/configuration/variable/#value examples: - ./output - [development, production] @@ -368,7 +368,7 @@ definitions: title: name description: |- A name of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#name + https://bashly.dev/configuration/command/#name type: string minLength: 1 examples: @@ -379,14 +379,14 @@ definitions: oneOf: - description: |- An alias of the current sub-command - https://bashly.dannyb.co/configuration/command/#alias + https://bashly.dev/configuration/command/#alias type: string minLength: 1 examples: - s - description: |- Aliases of the current sub-command - https://bashly.dannyb.co/configuration/command/#alias + https://bashly.dev/configuration/command/#alias type: array minItems: 1 uniqueItems: true @@ -400,7 +400,7 @@ definitions: title: help description: |- A description of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#help + https://bashly.dev/configuration/command/#help type: string minLength: 1 examples: @@ -409,7 +409,7 @@ definitions: title: args description: |- Arguments of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#args + https://bashly.dev/configuration/command/#args type: array minItems: 1 uniqueItems: true @@ -419,7 +419,7 @@ definitions: title: flags description: |- Flags of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#flags + https://bashly.dev/configuration/command/#flags type: array minItems: 1 uniqueItems: true @@ -429,7 +429,7 @@ definitions: title: commands description: |- Subcommands of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#commands + https://bashly.dev/configuration/command/#commands type: array minItems: 1 uniqueItems: true @@ -440,7 +440,7 @@ definitions: title: version description: |- A version of the current script - https://bashly.dannyb.co/configuration/command/#version + https://bashly.dev/configuration/command/#version type: string minLength: 1 examples: @@ -449,7 +449,7 @@ definitions: title: default description: |- Whether to use the current command as a fallback when CLI used incorrectly - https://bashly.dannyb.co/configuration/command/#default + https://bashly.dev/configuration/command/#default oneOf: - type: boolean default: false @@ -460,7 +460,7 @@ definitions: title: environment variables description: |- Environment variables of the current application - https://bashly.dannyb.co/configuration/environment-variable/#environment-variable + https://bashly.dev/configuration/environment-variable/#environment-variable type: array minItems: 1 uniqueItems: true @@ -470,7 +470,7 @@ definitions: title: variables description: |- Bash variables for the current application - https://bashly.dannyb.co/configuration/command/#variables + https://bashly.dev/configuration/command/#variables type: array minItems: 1 uniqueItems: true @@ -481,21 +481,21 @@ definitions: oneOf: - description: |- An example of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#examples + https://bashly.dev/configuration/command/#examples type: string minLength: 1 examples: - cli upload profile.png -u admin -p s3cr3t - description: |- Examples of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#examples + https://bashly.dev/configuration/command/#examples type: array minItems: 1 uniqueItems: true items: description: |- An example of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#examples + https://bashly.dev/configuration/command/#examples type: string minLength: 1 examples: @@ -504,7 +504,7 @@ definitions: title: footer description: |- A description footer for the current script or sub-command - https://bashly.dannyb.co/configuration/command/#footer + https://bashly.dev/configuration/command/#footer type: string minLength: 1 examples: @@ -513,7 +513,7 @@ definitions: title: group description: |- A group of the current sub-command - https://bashly.dannyb.co/configuration/command/#group + https://bashly.dev/configuration/command/#group type: string minLength: 1 examples: @@ -522,7 +522,7 @@ definitions: title: catch all description: |- Whether to allow additional arguments or flags for the current command - https://bashly.dannyb.co/configuration/command/#catch_all + https://bashly.dev/configuration/command/#catch_all oneOf: - type: boolean default: false @@ -535,7 +535,7 @@ definitions: label: description: |- A label for the current argument or flag - https://bashly.dannyb.co/configuration/command/#catch_all + https://bashly.dev/configuration/command/#catch_all type: string minLength: 1 examples: @@ -543,7 +543,7 @@ definitions: help: description: |- A description for the current argument or flag - https://bashly.dannyb.co/configuration/command/#catch_all + https://bashly.dev/configuration/command/#catch_all type: string minLength: 1 examples: @@ -551,7 +551,7 @@ definitions: required: description: |- Whether the current argument or flag is required - https://bashly.dannyb.co/configuration/command/#catch_all + https://bashly.dev/configuration/command/#catch_all type: boolean default: false additionalProperties: false @@ -559,7 +559,7 @@ definitions: title: completions description: |- Completions of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#completions + https://bashly.dev/configuration/command/#completions type: array minItems: 1 uniqueItems: true @@ -596,14 +596,14 @@ definitions: title: command description: |- Dependencies of the current script or sub-command - https://bashly.dannyb.co/configuration/dependency/#command + https://bashly.dev/configuration/dependency/#command type: array minItems: 1 uniqueItems: true items: description: |- A dependency of the current script or sub-command - https://bashly.dannyb.co/configuration/dependency/#command + https://bashly.dev/configuration/dependency/#command type: string minLength: 1 examples: @@ -612,7 +612,7 @@ definitions: title: help description: |- A help for the current dependency - https://bashly.dannyb.co/configuration/dependency/#help + https://bashly.dev/configuration/dependency/#help type: string minLength: 1 examples: @@ -622,27 +622,27 @@ definitions: oneOf: - description: |- Dependencies of the current script or sub-command - https://bashly.dannyb.co/configuration/dependency/#dependency + https://bashly.dev/configuration/dependency/#dependency type: array minItems: 1 uniqueItems: true items: description: |- A dependency of the current script or sub-command - https://bashly.dannyb.co/configuration/dependency/#dependency + https://bashly.dev/configuration/dependency/#dependency oneOf: - type: string minLength: 1 - type: "null" - description: |- Dependencies of the current script or sub-command - https://bashly.dannyb.co/configuration/dependency/#dependency + https://bashly.dev/configuration/dependency/#dependency type: object patternProperties: .: description: |- A dependency of the current script or sub-command - https://bashly.dannyb.co/configuration/dependency/#dependency + https://bashly.dev/configuration/dependency/#dependency oneOf: - type: string minLength: 1 @@ -661,7 +661,7 @@ definitions: title: expose description: |- Whether to expose the current sub-command if it has sub-commands - https://bashly.dannyb.co/configuration/command/#expose + https://bashly.dev/configuration/command/#expose oneOf: - type: boolean default: false @@ -672,7 +672,7 @@ definitions: title: extensible description: |- Whether to delegate the current unknown command to an external executable - https://bashly.dannyb.co/configuration/command/#extensible + https://bashly.dev/configuration/command/#extensible oneOf: - type: boolean default: false @@ -683,7 +683,7 @@ definitions: title: filename description: |- A partial file path of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#filename + https://bashly.dev/configuration/command/#filename type: string minLength: 1 examples: @@ -692,7 +692,7 @@ definitions: title: filters description: |- Filters of the current script or sub-command - https://bashly.dannyb.co/configuration/command/#filters + https://bashly.dev/configuration/command/#filters type: array minItems: 1 items: @@ -705,7 +705,7 @@ definitions: title: function description: |- An internal function for the current script or sub-command - https://bashly.dannyb.co/configuration/command/#function + https://bashly.dev/configuration/command/#function type: string minLength: 1 examples: @@ -714,14 +714,14 @@ definitions: title: private description: |- Whether hide the current sub-command from help - https://bashly.dannyb.co/configuration/command/#private + https://bashly.dev/configuration/command/#private type: boolean default: false sub-command-import-property: title: import description: |- A file import for the current sub-command - https://bashly.dannyb.co/configuration/command/#import + https://bashly.dev/configuration/command/#import type: string minLength: 1 examples: @@ -730,7 +730,7 @@ definitions: title: command description: |- A command of the current application - https://bashly.dannyb.co/configuration/command/#command + https://bashly.dev/configuration/command/#command type: object properties: name: @@ -780,7 +780,7 @@ definitions: title: cli description: |- A CLI of the current application - https://bashly.dannyb.co/usage/getting-started/ + https://bashly.dev/usage/getting-started/ type: object properties: name: diff --git a/support/schema/settings.yml b/support/schema/settings.yml index f7bb33d01..a9bfc7e53 100644 --- a/support/schema/settings.yml +++ b/support/schema/settings.yml @@ -28,14 +28,14 @@ definitions: title: settings description: |- Settings of the current application - https://bashly.dannyb.co/usage/settings/#settings + https://bashly.dev/usage/settings/#settings type: object properties: source_dir: title: source dir description: |- The path containing the bashly source files - https://bashly.dannyb.co/usage/settings/#source_dir + https://bashly.dev/usage/settings/#source_dir type: string minLength: 1 default: src @@ -43,7 +43,7 @@ properties: title: config path description: |- The path to bashly.yml - https://bashly.dannyb.co/usage/settings/#config_path + https://bashly.dev/usage/settings/#config_path type: string minLength: 1 default: '%{source_dir}/bashly.yml' @@ -51,7 +51,7 @@ properties: title: target dir description: |- The path to use for creating the bash script - https://bashly.dannyb.co/usage/settings/#target_dir + https://bashly.dev/usage/settings/#target_dir type: string minLength: 1 default: . @@ -59,7 +59,7 @@ properties: title: lib dir description: |- The path to use for common library files, relative to source_dir - https://bashly.dannyb.co/usage/settings/#lib_dir + https://bashly.dev/usage/settings/#lib_dir type: string minLength: 1 default: lib @@ -67,7 +67,7 @@ properties: title: commands dir description: |- The path to use for command files, relative to source_dir - https://bashly.dannyb.co/usage/settings/#commands_dir + https://bashly.dev/usage/settings/#commands_dir oneOf: &optional_string - type: string minLength: 1 @@ -76,7 +76,7 @@ properties: title: strict description: |- Configure the bash options that will be added to the initialize function - https://bashly.dannyb.co/usage/settings/#strict + https://bashly.dev/usage/settings/#strict oneOf: - type: boolean - type: string @@ -87,35 +87,35 @@ properties: title: tab indent description: |- Whether to use tabs or spaces in the generated script - https://bashly.dannyb.co/usage/settings/#tab_indent + https://bashly.dev/usage/settings/#tab_indent type: boolean default: false compact_short_flags: title: compact short flags description: |- Whether to expand -abc to -a -b -c in the input line - https://bashly.dannyb.co/usage/settings/#compact_short_flags + https://bashly.dev/usage/settings/#compact_short_flags type: boolean default: true conjoined_flag_args: title: conjoined flag args description: |- Whether to expand --flag=value to --flag value in the input line - https://bashly.dannyb.co/usage/settings/#conjoined_flag_args + https://bashly.dev/usage/settings/#conjoined_flag_args type: boolean default: true show_examples_on_error: title: show examples on error description: |- Whether to show command examples when the input line is missing required arguments - https://bashly.dannyb.co/usage/settings/#show_examples_on_error + https://bashly.dev/usage/settings/#show_examples_on_error type: boolean default: true env: title: env description: |- Whether to include development related comments in the generated script - https://bashly.dannyb.co/usage/settings/#env + https://bashly.dev/usage/settings/#env type: string enum: - development @@ -125,7 +125,7 @@ properties: title: enable_header_comment description: |- Whether to include the header comment in the generated script - https://bashly.dannyb.co/usage/settings/#enable_header_comment + https://bashly.dev/usage/settings/#enable_header_comment type: string enum: &feature_toggles - development @@ -137,7 +137,7 @@ properties: title: enable_bash3_bouncer description: |- Whether to include the code snippet that aborts when an old version of bash is detected in the generated script - https://bashly.dannyb.co/usage/settings/#enable_bash3_bouncer + https://bashly.dev/usage/settings/#enable_bash3_bouncer type: string enum: *feature_toggles default: always @@ -145,7 +145,7 @@ properties: title: enable_view_markers description: |- Whether to include view marker comments in the generated script - https://bashly.dannyb.co/usage/settings/#enable_view_markers + https://bashly.dev/usage/settings/#enable_view_markers type: string enum: *feature_toggles default: development @@ -153,7 +153,7 @@ properties: title: enable_inspect_args description: |- Whether to include the inspect_args function in the generated script - https://bashly.dannyb.co/usage/settings/#enable_inspect_args + https://bashly.dev/usage/settings/#enable_inspect_args type: string enum: *feature_toggles default: development @@ -161,7 +161,7 @@ properties: title: enable_deps_array description: |- Whether to include the code for the dependencies array in the generated script - https://bashly.dannyb.co/usage/settings/#enable_deps_array + https://bashly.dev/usage/settings/#enable_deps_array type: string enum: *feature_toggles default: always @@ -169,7 +169,7 @@ properties: title: enable_env_var_names_array description: |- Whether to include the code for the env_var_names array in the generated script - https://bashly.dannyb.co/usage/settings/#enable_env_var_names_array + https://bashly.dev/usage/settings/#enable_env_var_names_array type: string enum: *feature_toggles default: always @@ -177,7 +177,7 @@ properties: title: enable_sourcing description: |- Whether to wrap the script execution in a condition that checks if the script is sourced - https://bashly.dannyb.co/usage/settings/#enable_sourcing + https://bashly.dev/usage/settings/#enable_sourcing type: string enum: *feature_toggles default: development @@ -185,7 +185,7 @@ properties: title: partials extension description: |- The extension to use when reading/writing partial script snippets - https://bashly.dannyb.co/usage/settings/#partials_extension + https://bashly.dev/usage/settings/#partials_extension type: string minLength: 1 default: sh @@ -193,76 +193,76 @@ properties: title: private reveal key description: |- The name of the environment variable (case sensitive) that, if set, will reveal private commands, flags and environment variables - https://bashly.dannyb.co/usage/settings/#private_reveal_key + https://bashly.dev/usage/settings/#private_reveal_key oneOf: *optional_string usage_colors: title: usage colors description: |- Enable and configure colorful output for --help - https://bashly.dannyb.co/usage/settings/#usage_colors + https://bashly.dev/usage/settings/#usage_colors type: object properties: caption: title: caption description: |- Color for captions - https://bashly.dannyb.co/usage/settings/#usage_colors + https://bashly.dev/usage/settings/#usage_colors $ref: '#/definitions/color' command: title: command description: |- Color for commands - https://bashly.dannyb.co/usage/settings/#usage_colors + https://bashly.dev/usage/settings/#usage_colors $ref: '#/definitions/color' arg: title: arg description: |- Color for positional arguments - https://bashly.dannyb.co/usage/settings/#usage_colors + https://bashly.dev/usage/settings/#usage_colors $ref: '#/definitions/color' flag: title: flag description: |- Color for flags - https://bashly.dannyb.co/usage/settings/#usage_colors + https://bashly.dev/usage/settings/#usage_colors $ref: '#/definitions/color' environment_variable: title: environment variable description: |- Color for env environment variables - https://bashly.dannyb.co/usage/settings/#usage_colors + https://bashly.dev/usage/settings/#usage_colors $ref: '#/definitions/color' additionalProperties: false var_aliases: title: var_aliases description: |- Declare alias names for bashly's public global arrays - https://bashly.dannyb.co/usage/settings/#var_aliases + https://bashly.dev/usage/settings/#var_aliases type: object properties: args: title: args description: |- Alias name for the args array - https://bashly.dannyb.co/usage/settings/#var_aliases + https://bashly.dev/usage/settings/#var_aliases oneOf: *optional_string other_args: title: other_args description: |- Alias name for the other_args array (used when catch_all is enabled) - https://bashly.dannyb.co/usage/settings/#var_aliases + https://bashly.dev/usage/settings/#var_aliases oneOf: *optional_string deps: title: deps description: |- Alias name for the deps array - https://bashly.dannyb.co/usage/settings/#var_aliases + https://bashly.dev/usage/settings/#var_aliases oneOf: *optional_string env_var_names: title: env_var_names description: |- Alias name for the env_var_names array - https://bashly.dannyb.co/usage/settings/#var_aliases + https://bashly.dev/usage/settings/#var_aliases oneOf: *optional_string additionalProperties: false additionalProperties: false