-
Notifications
You must be signed in to change notification settings - Fork 0
CLI
Yuka edited this page Jul 22, 2024
·
1 revision
Manage your JSONDB database from the command line.
php CLI.php <command> [options]
-
user: Manage users
-
create: Create a new user.
- Options:
-
-u <username>: Username (required) -
-j <jurisdiction>: User's jurisdiction (required) -
-p <password>: User's password (required)
-
- Options:
-
delete: Delete an existing user.
- Options:
-
-u <username>: Username (required)
-
- Options:
-
change-password: Change a user's password.
- Options:
-
-u <username>: Username (required) -
-p <new_password>: New password (required)
-
- Options:
-
change-jurisdiction: Change a user's jurisdiction.
- Options:
-
-u <username>: Username (required) -
-j <new_jurisdiction>: New jurisdiction (required)
-
- Options:
-
create: Create a new user.
-
state: View database state (details to be implemented)