Skip to content

Commit 2b3db39

Browse files
committed
Improve README with built in commands and better intro
1 parent 6396bea commit 2b3db39

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

README.rst

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
GeoServer Shell
22
===============
3-
GeoServer Shell uses the spring-shell library used by Spring Roo to manage Geoserver in a command line interface (CLI).
3+
Administer Geoserver using a command line interface (CLI). Geoserver Shell uses the same shell interface used by Spring Roo and
4+
provides extensive tab completion, history support, and the ability to run scripts.
5+
6+
Geserver Shell administers Geoserver using the excellent Geoserver Rest API. You can publish shapefiles, GeoTIFFs, and PostGIS layers,
7+
upload and download SLDs, and start tile seeding straight from the command line.
48

59
You can use Geoserver Shell interactively by typing **gs-shell** at the command line
610
or you can write scripts and then execute them from the command line by typing **gs-shell --cmdfile script.gs**
@@ -21,8 +25,8 @@ Run the geoserver-shell::
2125

2226
target/gs-shell-app/gs-shell-1.0-SNAPSHOT/bin/gs-shell
2327

24-
Usage
25-
-----
28+
Examples
29+
--------
2630

2731
Create a Workspace::
2832

@@ -61,6 +65,25 @@ Start seeding tiles::
6165

6266
Commands
6367
--------
68+
69+
* built ins
70+
71+
* exit = exit the shell
72+
73+
* quit = exit the shell
74+
75+
* help = list all commands and their usages
76+
77+
* ! = run os command string
78+
79+
* date = displays local date and time
80+
81+
* script = run a script
82+
83+
* system properties = show shell's properties
84+
85+
* version = display current cli version
86+
6487
* geoserver
6588

6689
* geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver

0 commit comments

Comments
 (0)