Bläddra i källkod

fixed comments

tonyboylehub 5 månader sedan
förälder
incheckning
5183fa272f

+ 2 - 4
src/pages/cli/config/rpcs.md

@@ -3,8 +3,6 @@ title: RPCs
 description: Manage RPC endpoints in your configuration
 ---
 
-# RPC Configuration
-
 Manage RPC endpoints in your configuration. You can add, list, remove, and set active RPCs for different networks.
 
 ## Basic Usage
@@ -139,5 +137,5 @@ RPCs are stored in your configuration file at `~/.mplx/config.json`:
 
 ## Related Commands
 
-- [Wallets](./wallets) - Manage wallet configurations
-- [Explorer](./explorer) - Set preferred blockchain explorer 
+- [Wallets](/cli/config/wallets) - Manage wallet configurations
+- [Explorer](/cli/config/explorer) - Set preferred blockchain explorer 

+ 2 - 4
src/pages/cli/config/wallets.md

@@ -3,8 +3,6 @@ title: Wallets
 description: Manage wallet configurations
 ---
 
-# Wallet Configuration
-
 Manage wallet configurations in your CLI. You can add, list, remove, and set active wallets for different purposes.
 
 ## Basic Usage
@@ -165,5 +163,5 @@ Wallets are stored in your configuration file at `~/.mplx/config.json`:
 
 ## Related Commands
 
-- [RPCs](./rpcs) - Manage RPC endpoints
-- [Explorer](./explorer) - Set preferred blockchain explorer 
+- [RPCs](/cli/config/rpcs) - Manage RPC endpoints
+- [Explorer](/cli/config/explorer) - Set preferred blockchain explorer 

+ 0 - 8
src/pages/cli/core/create-asset.md

@@ -82,11 +82,3 @@ The command will output the following information upon successful creation:
   Core Explorer: https://core.metaplex.com/explorer/<asset_address>
 --------------------------------
 ```
-
-## Notes
-
-- When using the file-based creation method, both `--image` and `--json` flags are required
-- The wizard method provides a guided experience for creating assets, including file uploads and metadata creation
-- Plugin configuration can be done either interactively or through a JSON file
-- The command supports various file types for images and animations
-- Collection assignment is optional and can be used with any creation method

+ 11 - 11
src/pages/cli/index.md

@@ -37,16 +37,16 @@ The Metaplex CLI is a powerful command-line tool that provides a comprehensive s
 
 ## Getting Started
 
-1. [Install the CLI](./installation)
+1. [Install the CLI](/cli/installation)
 2. Configure your environment:
-   - [Set up your wallet](./config/wallet)
-   - [Configure RPC endpoints](./config/rpc)
-   - [Choose your preferred explorer](./config/explorer)
+   - [Set up your wallet](/cli/config/wallets)
+   - [Configure RPC endpoints](/cli/config/rpcs)
+   - [Choose your preferred explorer](/cli/config/explorer)
 3. Start using the core commands:
-   - [Create assets](./core/create-asset)
-   - [Create collections](./core/create-collection)
-   - [Update assets](./core/update)
-   - [Fetch assets](./core/fetch)
+   - [Create assets](/cli/core/create-asset)
+   - [Create collections](/cli/core/create-collection)
+   - [Update assets](/cli/core/update-asset)
+   - [Fetch assets](/cli/core/fetch)
 
 ## Command Structure
 
@@ -71,10 +71,10 @@ Categories include:
 
 ## Support and Resources
 
-- [GitHub Repository](https://github.com/metaplex-foundation/mpl-toolbox)
-- [Documentation](https://docs.metaplex.com)
+- [GitHub Repository](https://github.com/metaplex-foundation/cli)
+- [Documentation](https://developers.metaplex.com)
 - [Discord Community](https://discord.gg/metaplex)
 
 ## Next Steps
 
-Ready to get started? Head over to the [installation guide](./installation) to set up the CLI on your system. 
+Ready to get started? Head over to the [installation guide](/cli/installation) to set up the CLI on your system. 

+ 5 - 5
src/pages/cli/installation.md

@@ -128,17 +128,17 @@ npm link
 
 If you encounter any issues:
 
-1. Check the [documentation](https://docs.metaplex.com)
-2. Search [GitHub issues](https://github.com/metaplex-foundation/mpl-toolbox/issues)
+1. Check the [documentation](https://developers.metaplex.com)
+2. Search [GitHub issues](https://github.com/metaplex-foundation/cli/issues)
 3. Join the [Discord community](https://discord.gg/metaplex)
 
 ## Next Steps
 
 Now that you have the CLI installed, you can:
 
-1. [Learn about the core commands](../core/create-asset)
-2. [Explore the toolbox utilities](../toolbox/token-create)
-3. [Configure your environment](../config/wallet)
+1. [Learn about the core commands](/cli/core/create-asset)
+2. [Explore the toolbox utilities](/cli/toolbox/token-create)
+3. [Configure your environment](/cli/config/wallets)
 
 ## Updating
 

+ 0 - 80
src/pages/cli/introduction.md

@@ -1,80 +0,0 @@
----
-title: Introduction
-description: Welcome to the Metaplex CLI
----
-
-# Metaplex CLI
-
-The Metaplex CLI is a powerful command-line tool that provides a comprehensive suite of utilities for interacting with the Metaplex protocol on Solana. Whether you're a developer building NFT applications or a creator managing digital assets, the CLI offers a robust set of features to streamline your workflow.
-
-## Key Features
-
-### Core Functionality
-- Create and manage MPL Core Assets and Collections
-- Upload and update asset metadata
-- Fetch asset and collection information
-- Manage asset properties and attributes
-
-### Toolbox Utilities
-- Create and manage fungible tokens
-- Transfer SOL between addresses
-- Check SOL balances
-- Airdrop SOL for testing purposes
-
-### Configuration Management
-- Manage multiple wallets
-- Configure RPC endpoints
-- Set preferred blockchain explorer
-- Customize CLI behavior
-
-## Why Use the CLI?
-
-1. **Developer-Friendly**: Built with developers in mind, offering both simple commands and advanced options
-2. **Interactive Mode**: User-friendly wizards for complex operations
-3. **Flexible Configuration**: Customize your environment with multiple wallets and RPC endpoints
-4. **Comprehensive Tools**: Everything you need for NFT and token management in one place
-5. **Cross-Platform**: Works on Windows, macOS, and Linux
-
-## Getting Started
-
-1. [Install the CLI](./installation)
-2. Configure your environment:
-   - [Set up your wallet](./config/wallet)
-   - [Configure RPC endpoints](./config/rpc)
-   - [Choose your preferred explorer](./config/explorer)
-3. Start using the core commands:
-   - [Create assets](./core/create-asset)
-   - [Create collections](./core/create-collection)
-   - [Update assets](./core/update)
-   - [Fetch assets](./core/fetch)
-
-## Command Structure
-
-The CLI follows a hierarchical command structure:
-
-```bash
-mplx <category> <command> [options]
-```
-
-Categories include:
-- `core`: MPL Core asset management
-- `toolbox`: Utility commands
-- `config`: Configuration management
-
-## Best Practices
-
-1. **Use Configuration**: Set up your wallets and RPC endpoints for a smoother experience
-2. **Interactive Mode**: Use the `--wizard` flag for guided operations
-3. **Check Balances**: Always verify your SOL balance before transactions
-4. **Test First**: Use devnet for testing before mainnet deployment
-5. **Backup**: Keep your wallet files and configuration secure
-
-## Support and Resources
-
-- [GitHub Repository](https://github.com/metaplex-foundation/mpl-toolbox)
-- [Documentation](https://docs.metaplex.com)
-- [Discord Community](https://discord.gg/metaplex)
-
-## Next Steps
-
-Ready to get started? Head over to the [installation guide](./installation) to set up the CLI on your system. 

+ 3 - 5
src/pages/cli/toolbox/sol-balance.md

@@ -3,8 +3,6 @@ title: SOL Balance
 description: Check SOL balance for a wallet address
 ---
 
-# SOL Balance
-
 Check the SOL balance for a wallet address. This command allows you to quickly verify the SOL balance of any wallet on the network.
 
 ## Basic Usage
@@ -56,6 +54,6 @@ Balance: 1.5 SOL
 
 ## Related Commands
 
-- [SOL Transfer](./sol-transfer) - Transfer SOL between addresses
-- [Token Transfer](./token-transfer) - Transfer tokens
-- [Airdrop](./airdrop) - Request SOL airdrop (devnet only) 
+- [SOL Transfer](/cli/toolbox/sol-transfer) - Transfer SOL between addresses
+- [Token Transfer](/cli/toolbox/token-transfer) - Transfer tokens
+- [Airdrop](/cli/toolbox/sol-airdrop) - Request SOL airdrop (devnet only) 

+ 3 - 5
src/pages/cli/toolbox/token-transfer.md

@@ -3,8 +3,6 @@ title: Token Transfer
 description: Transfer tokens to a destination address
 ---
 
-# Token Transfer
-
 Transfer tokens from your wallet to a destination address. If the destination wallet doesn't have a token account, it will be created automatically.
 
 ## Basic Usage
@@ -63,6 +61,6 @@ If the transfer fails, the command will display an error message and throw an ex
 
 ## Related Commands
 
-- [Token Creation](./token-create) - Create new tokens
-- [Balance Check](./balance) - Check token balances
-- [SOL Transfer](./sol-transfer) - Transfer SOL between addresses 
+- [Token Creation](/cli/toolbox/token-create) - Create new tokens
+- [Balance Check](/cli/toolbox/balance) - Check token balances
+- [SOL Transfer](/cli/toolbox/sol-transfer) - Transfer SOL between addresses