Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pubsweet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pubsweet
pubsweet
Commits
2ae8e48a
Commit
2ae8e48a
authored
Aug 03, 2019
by
Jure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(cli): fix warning about use of static
parent
87b43f6c
Pipeline
#13093
passed with stages
in 11 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
packages/cli/README.md
packages/cli/README.md
+12
-13
No files found.
packages/cli/README.md
View file @
2ae8e48a
PubSweet CLI (using
`pubsweet`
or
`pubsweet help`
) outputs:
```
static
Usage: pubsweet [options] [command]
```
md
Usage: pubsweet
[
options
][
command
]
Commands:
new
create and set up a new pubsweet app
setupdb
generate a database for a pubsweet app
build
build static assets for a pubsweet app
start
start pubsweet server and backing services
server
build static assets and start a pubsweet app
adduser
add a user to the database for a pubsweet app
help [cmd]
display help for [cmd]
new
create and set up a new pubsweet app
setupdb
generate a database for a pubsweet app
build
build static assets for a pubsweet app
start
start pubsweet server and backing services
server
build static assets and start a pubsweet app
adduser
add a user to the database for a pubsweet app
help
[
cmd
]
display help for
[
cmd
]
Options:
-h, --help
output usage information
-V, --version
output the version number
-h, --help
output usage information
-V, --version
output the version number
```
For any command, you can see detailed usage help by running
`pubsweet help cmd`
,
...
...
@@ -96,7 +95,7 @@ pubsweet setupdb
If your database already has tables,
`pubsweet setupdb`
will not overwrite them
by default. You can force it to delete existing data using
`--clobber`
:
```
static
```
bash
$
pubsweet setupdb
error: Database tables already exist
error: If you want to overwrite the database, use
--clobber
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment