Skip to content

Commit c13491b

Browse files
Cleaned up the formatting
1 parent 3a2f016 commit c13491b

File tree

9 files changed

+17
-23
lines changed

9 files changed

+17
-23
lines changed

src/amber_cli/commands/database.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require "file_utils"
1313
#
1414
# ## Usage
1515
# ```
16-
# amber database [action] [options]
16+
# amber database [action][options]
1717
# ```
1818
#
1919
# ## Actions

src/amber_cli/commands/encrypt.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ require "../helpers/helpers"
88
#
99
# ## Usage
1010
# ```
11-
# amber encrypt [environment] [options]
11+
# amber encrypt [environment][options]
1212
# ```
1313
#
1414
# ## Actions
1515
# - `encrypt` - Encrypt an environment file
16-
# - `decrypt` - Decrypt an environment file
16+
# - `decrypt` - Decrypt an environment file
1717
# - `edit` - Edit an encrypted environment file
1818
#
1919
# ## Examples

src/amber_cli/commands/new.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require "../core/base_command"
1010
#
1111
# ## Options
1212
# - `-d, --database` - Database type (pg, mysql, sqlite)
13-
# - `-t, --template` - Template language (slang, ecr)
13+
# - `-t, --template` - Template language (slang, ecr)
1414
# - `--no-deps` - Skip dependency installation
1515
#
1616
# ## Examples

src/amber_cli/commands/plugin.cr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require "../plugins/plugin"
66
#
77
# ## Usage
88
# ```
9-
# amber plugin [action] [name] [options]
9+
# amber plugin [action][name][options]
1010
# ```
1111
#
1212
# ## Actions
@@ -18,13 +18,13 @@ require "../plugins/plugin"
1818
# ## Examples
1919
# ```
2020
# # Install a plugin from GitHub
21-
# amber plugin install myorg/amber-plugin-api
21+
# amber plugin install myorg/amber - plugin - api
2222
#
2323
# # List all installed plugins
2424
# amber plugin list
2525
#
2626
# # Uninstall a plugin
27-
# amber plugin uninstall amber-plugin-api
27+
# amber plugin uninstall amber - plugin - api
2828
# ```
2929
module AmberCLI::Commands
3030
class PluginCommand < AmberCLI::Core::BaseCommand

src/amber_cli/commands/watch.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require "../helpers/sentry"
1515
# - `-e, --env` - Environment to run in (development, production)
1616
# - `-v, --verbose` - Enable verbose output
1717
#
18-
# ## Examples
18+
# ## Examples
1919
# ```
2020
# # Start development server with auto-reload
2121
# amber watch

src/amber_cli/core/configurable_generator_manager.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module AmberCLI::Core
3030
generator_rules.each do |rule|
3131
# Get amber framework version from config, defaulting to current stable version
3232
amber_version = template_variables["amber_framework_version"]? || "1.4.0"
33-
33+
3434
generated_files = @template_engine.generate_file_from_rule(rule, name, template_dir, template_variables, naming_conventions, amber_version)
3535

3636
generated_files.each do |file_info|

src/amber_cli/core/template_engine.cr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ module AmberCLI::Core
4545
# Build replacement context
4646
replacements = custom_variables.dup
4747

48-
# Add built-in variables
49-
replacements["cli_version"] = AmberCli::VERSION
50-
replacements["amber_framework_version"] = amber_framework_version
48+
# Add built-in variables
49+
replacements["cli_version"] = AmberCli::VERSION
50+
replacements["amber_framework_version"] = amber_framework_version
5151

5252
# Add word transformations
5353
if transformations = rule.transformations

src/amber_cli/documentation.cr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ module AmberCLI::Documentation
645645
#
646646
# ### Framework Version Configuration
647647
#
648-
# The `amber_framework_version` setting determines which version of the Amber
648+
# The `amber_framework_version` setting determines which version of the Amber
649649
# framework gets used when creating new applications. This is separate from the
650650
# CLI tool version and allows you to:
651651
#
@@ -688,8 +688,8 @@ module AmberCLI::Documentation
688688
# # config/environments/development.yml
689689
# database_url: "postgres://localhost/myapp_development"
690690
# amber_framework_version: "1.4.0"
691-
#
692-
# # config/environments/production.yml
691+
#
692+
# # config/environments/production.yml
693693
# database_url: ENV["DATABASE_URL"]
694694
# amber_framework_version: "1.4.0"
695695
# ```
@@ -703,7 +703,7 @@ module AmberCLI::Documentation
703703
# ### Database Connection Issues
704704
#
705705
# **Problem**: `Connection unsuccessful` error
706-
# **Solution**:
706+
# **Solution**:
707707
# 1. Verify database server is running
708708
# 2. Check connection string in environment configuration
709709
# 3. Ensure database exists (run `amber database create`)
@@ -747,4 +747,4 @@ module AmberCLI::Documentation
747747
# - Report issues on [GitHub](https://github.com/amberframework/amber_cli/issues)
748748
class Troubleshooting
749749
end
750-
end
750+
end

src/version.cr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@
22
module AmberCli
33
VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify.downcase }}
44
end
5-
6-
# :nodoc:
7-
# Legacy compatibility - completely hidden from documentation
8-
# module Amber
9-
# VERSION = AmberCli::VERSION
10-
# end

0 commit comments

Comments
 (0)