mirror of
https://gh.wpcy.net/https://github.com/CaptainCore/captaincore.git
synced 2026-04-18 13:16:01 +08:00
15 lines
No EOL
361 B
Bash
Executable file
15 lines
No EOL
361 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
#
|
|
# Generates manifest.json file.
|
|
#
|
|
# `captaincore generate-manifest`
|
|
#
|
|
|
|
# Load configuration
|
|
root_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"; root_path=${root_path%app*}
|
|
source ${root_path}lib/arguments
|
|
|
|
cd ${root_path}data
|
|
|
|
wp eval-file ${root_path}lib/local-scripts/manifest-generate.php captain_id=$captain_id --user=1 |