Note 1:
- Copy commands without cin-cli> These ( cin-cli> ) appear after running cin-cli
Note 2:
- All commands are case-sensitive and should be entered exactly as shown above.
Below is a comprehensive list of all available commands in CIN CLI:
# Show this help
cin-cli> help
# Clear the screen
cin-cli> clear
# Exit the CLI (interactive mode only)
cin-cli> exit
cin-cli> quit# Install latest version of CIN Framework
cin-cli> install framework
# Install specific version of CIN Framework
cin-cli> install framework <version>
# Update CIN Framework to latest version
cin-cli> update framework
# Delete CIN Framework
cin-cli> delete framework
# Examples:
cin-cli> install framework
cin-cli> install framework v2.0.0
cin-cli> update framework
cin-cli> delete framework# Install latest version of a library
cin-cli> install library <library_name>
# Install specific version of a library
cin-cli> install library <library_name> <version>
# Install specific version of CIN Framework
cin-cli> install framework <version>
# Update a library to latest version
update library <library_name>
# Delete a library
cin-cli> delete library <library_name>
# Examples:
cin-cli> install library test
cin-cli> install library test v1.0.0
cin-cli> update library test
cin-cli> delete library test# Create a new PHP page with CIN template. The page will be created in the same directory as cin-cli.exe with the default CIN Framework structure.
cin-cli> crp [pagename]
# Remove an existing PHP page from the current directory.
cin-cli> rep [pagename]
# Examples:
cin-cli> crp index
cin-cli> rep index# Enable admin mode
cin-cli> sudo enable
# Disable admin mode
cin-cli> sudo disable
# Show admin mode status
cin-cli> sudo status# Display current configuration
cin-cli> config show
# Show configuration file path
cin-cli> config path
# Reset configuration to defaults
cin-cli> config reset# Enable color output
cin-cli> color enable
# Disable color output
cin-cli> color disable
# Show color mode status
cin-cli> color statusNote 3:
- New commands are added in future releases. Check COMMANDS from time to time to be aware of all new commands.
© CIN FRAMEWORK — All Rights Reserved.