The penx-cli is a command-line tool designed to streamline the development and management of themes for the PenX project. This documentation provides an overview of its commands, usage examples, and best practices for working with the tool.
To install the penx-cli, use the following command:
npm install -g penx-cliThis will globally install the CLI tool on your system, making it accessible from any directory.
Log in to your PenX account to authenticate and gain access to additional features.
penx loginLog out of your PenX account.
penx logoutVerify which account is currently logged in.
penx whoamiBefore develop a theme for PenX, you should clone penx to your computer.
Follow this docs to develop PenX locally: local-development
git clone https://github.com/penx-labs/penxSet up a new theme in your PenX project. This command creates the necessary structure and configuration files for a new theme.
penx theme initInstall an existing theme into your PenX project. Replace <theme-name> with the name of the desired theme.
penx theme install <theme-name>Example:
penx theme install my-awesome-themePublish your custom theme to the PenX theme marketplace, making it available for others to use.
penx theme publishTo view help information for any command, use the --help flag. For example:
penx --helpOr for a specific command:
penx theme --helpThis will display detailed information about available subcommands and options.
- Always run
penx-clicommands from within your PenX project directory. - Use meaningful names when initializing or publishing themes.
- Regularly update
penx-clito access new features and bug fixes:npm update -g penx-cli
- Provide descriptive metadata when publishing themes to improve discoverability in the marketplace.
If you encounter issues or have suggestions for improvement, please visit the PenX GitHub repository to open an issue or contribute directly.
Happy theming! 🎨