web6-agency/six-cli

This package is abandoned and no longer maintained. No replacement package was suggested.

Cli tools for controlling 6admin

v1.1.5 2015-03-27 16:19 UTC

This package is auto-updated.

Last update: 2020-07-29 13:44:22 UTC


README

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]