Skip to content

Latest commit

 

History

History
135 lines (102 loc) · 3.02 KB

File metadata and controls

135 lines (102 loc) · 3.02 KB

CIN CLI COMMANDS

CIN Framework Logo

CIN FRAMEWORK

CIN CLI - COMMANDS

Official Website


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.

Available Commands

Below is a comprehensive list of all available commands in CIN CLI:

General Commands

# Show this help
cin-cli> help

# Clear the screen
cin-cli> clear

# Exit the CLI (interactive mode only)
cin-cli> exit
cin-cli> quit

Framework Management Commands

# 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

Library Management Commands

# 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

PHP Page Management Commands

# 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

Admin Mode Commands

# Enable admin mode
cin-cli> sudo enable

# Disable admin mode
cin-cli> sudo disable

# Show admin mode status
cin-cli> sudo status

Configuration Commands

# Display current configuration
cin-cli> config show

# Show configuration file path
cin-cli> config path

# Reset configuration to defaults
cin-cli> config reset

Color Output Commands

# Enable color output
cin-cli> color enable

# Disable color output
cin-cli> color disable

# Show color mode status
cin-cli> color status

Note 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.