Skip to content

Web6-Agency/six-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Six CLI

This package is part of 6admin package.

Installation

composer global require "web6-agency/six-cli:dev-master"

Setup

After installation completed, you can access the six cli from bin folder.

~/composer/vendor/bin/six

You may create alias for quick access the six cli, or export the bin path to your ~/.bashrc file.

alias six="vendor/bin/six"

export PATH="vendor/bin:$PATH"

On windows terminal emulator like cmder you can make an alias like that

alias six=C:\Users\<USERNAME>\AppData\Roaming\Composer\vendor\bin\six.bat $1 $2 $3 $4 $5

Usage

There is some command you can use for controling 6admin installation. You may also show all available command using six command without params.

$ six

Commands for creating / configuring a project

# Start the project installer wizard
six project:wizard
	
	# Create a new 6admin project based on private repo
	six project:create
	
	# Configure projet (database etc ...)
	six project:configure
	
	# Setup projet (Install modules, update composer, and module:install)
	six project:setup	

Commands for managing cms modules :

# List all available six modules
six module

# Download a module if not downloaded and run installation (with example seeds or not)
six module:install [module_name] [--example-seeds]

# Only download a module without installing it
six module:download [module_name]

# Uninstall module by running uninstallation script and then delete the module folder
six module:uninstall [module_name]

# Refresh a module by running uninstall / reinstall each modules
six module:refresh [module_name]

# Temporary disable a module
six module:disable [module_name]

# Enable a disabled module
six module:enable [module_name]

# Pulling / Pushing modifications from / to module repository
six module:sync [module_name]

# Pulling modifications from module repository
six module:pull [module_name]

# Pushing modifications to module repository
six module:push [module_name]

About

Six CLI is a command line interface for 6admin instances

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages