Skip to content

Commit

Permalink
Add basic readme info
Browse files Browse the repository at this point in the history
  • Loading branch information
Alistair Deneys committed Sep 21, 2015
1 parent 3b9db1b commit decd2fe
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
# revolver
A command line for Sitecore
# Revolver #

Revolver is a command line and scripting tool for Sitecore. It saves developers and administors time by allowing them to script common and repetative actions.

Revolver also supports custom tooling by allowing developers to create their own commands to be used and combined with the OOTB commands.

## Examples ##

These are some quick examples of Revolver scripting:

# navigate the content tree
cd child-item
cd ../sibling

# list the children of the current item
ls

# get and set fields
gf -f title
sf text (this is the new text)

# get and set attributes of the item
ga
ga -a id
sa template {76036F5E-CBCE-46D1-AF0A-4143F9B557AA}

# create a new item
touch -t (sample/sample item) newitem

# locate all items based on a template
cd /
find -r -t {76036F5E-CBCE-46D1-AF0A-4143F9B557AA} pwd

# do the same using a custom content search index and only print names
csearch -i myindex _template:{76036F5E-CBCE-46D1-AF0A-4143F9B557AA} (ga -a name)

## References ##

Additional information can be found on the [codeflood](http://www.codeflood.net) website under the [revolver](http://www.codeflood.net/revolver) section.

0 comments on commit decd2fe

Please sign in to comment.