Document create environment command #55
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds user-facing documentation for the
create environmentcommand, completing the final subissue of epic #34.Documentation Added
Command reference (
docs/user-guide/commands/create-environment.md):Commands index updates (
docs/user-guide/commands.md):create environmentandcreate templateas ✅ Fully Implemented--working-dirto common optionsExample Usage
Configuration format:
{ "environment": { "name": "production" }, "ssh_credentials": { "private_key_path": "~/.ssh/id_rsa", "public_key_path": "~/.ssh/id_rsa.pub", "username": "torrust", "port": 22 } }Closes #52
Original prompt
This section details on the original issue you should resolve
<issue_title>[Subissue 10/10] Document Create Environment Command</issue_title>
<issue_description># Document Create Environment Command
Epic Subissue: 10 of 10
Parent Epic: #34 - Create Environment Command
Related: User Guide Commands, Create Environment Command Documentation
Overview
Add comprehensive user-facing documentation for the
create environmentcommand to the user guide. This documentation will help users understand how to create new deployment environments from configuration files.The create environment command is now fully implemented (Subissues 1-7) and needs proper user-facing documentation in the
docs/user-guide/directory.Goals
docs/user-guide/commands/create-environment.mddocs/user-guide/commands.mdto mark create command as implemented🏗️ Architecture Requirements
Documentation Type: User Guide
Module Path:
docs/user-guide/commands/Pattern: Command Reference Documentation
Documentation Structure Requirements
Anti-Patterns to Avoid
Specifications
Documentation Structure
The command documentation should follow this structure:
Command Overview
Syntax
Configuration File Format
Examples
Common Use Cases
Troubleshooting
Related Commands
Content to Include
Command Overview Section
Syntax Section
Required Flags
--env-file <path>- Path to environment configuration file (JSON or TOML)Optional Flags
--working-dir <path>- Working directory for environment data (default:.)--log-output <mode>- Logging output mode:stderr,file,file-and-stderr(default:stderr)TOML Format
Field Descriptions
~for home directory expansion~for home directory expansion...✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.