feat: new code structure
This commit is contained in:
parent
5cc1a53f08
commit
36f1d5514d
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "<id>..."
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Add the specified user(s) to the blocklist"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main () # $*: ban list
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "<id>..."
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "remove the specified user(s) from the blocklist"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main () # $*: ban list
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Show the list of blocked users"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Sync blocklist for all servers"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Correct ini files permissions for the specified instance"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<args>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Start the server with the specified parameters"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Install or update the server"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Check the integrity of files, update them if necessary"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "<name>..."
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Create a new server instance(s) with the specified name(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "<message> [<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Send message to specified server instances"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Delete the specified server instances"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Disable specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Enable specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Show status of the specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Restart the specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Start the specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Stop the specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Load map rotation for specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main () # $*: Instance[s]
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Save map rotation for specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main () # $*: Instance[s]
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "<password> [<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Set a admin password for the specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "<password> [<instance>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Set a game password for the specified server instance(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<workshop_id>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Add specified resource(s) from steam workshop"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo "[<workshop_id>...]"
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Delete specified steam workshop resource(s)"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Show the list of steam workshop resources"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
@ -21,22 +21,17 @@
|
||||
|
||||
function cmd_usage ()
|
||||
{
|
||||
# How use it
|
||||
# example:
|
||||
# echo "[-h] <arg1> <arg2>"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function cmd_info ()
|
||||
{
|
||||
# What this command do (briefly)
|
||||
# You can use multiple lines, but one is better
|
||||
# Example:
|
||||
# echo "Create new instance"
|
||||
echo "Sync steamorkshop resources between all server instances"
|
||||
}
|
||||
|
||||
function cmd_help ()
|
||||
{
|
||||
# Full help on command usage
|
||||
echo "TODO: description"
|
||||
}
|
||||
|
||||
function cmd_main ()
|
||||
|
Loading…
Reference in New Issue
Block a user