[prev in list] [next in list] [prev in thread] [next in thread]
List: fossil-users
Subject: Re: [fossil-users] C API
From: Stephan Beal <sgbeal () googlemail ! com>
Date: 2012-01-08 18:51:35
Message-ID: CAKd4nAjO1WmWyRiVxqbiBzz0=6-K2WYhNtRkcTeDD0sKTTiJdw () mail ! gmail ! com
[Download RAW message or body]
On Sun, Jan 8, 2012 at 6:55 PM, Jeremy Cowgar <jeremy@cowgar.com> wrote:
> Does the JSON interface work via the command line? It'd be a bummer for a
> user wanting to simply script fossil to have to run a server just to do
> some local scripting.
>
It can run in CLI or server modes, "mostly" identically. In CLI mode it
takes most parameters as positional CLI args and can optionally take an
HTTP-like request envelope from stdin or a file:
See this section of the docs for details and examples:
https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/edit?hl=en_US#heading=h.18640dyuzk2j
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
[Attachment #3 (text/html)]
<div class="gmail_quote">On Sun, Jan 8, 2012 at 6:55 PM, Jeremy Cowgar <span \
dir="ltr"><<a href="mailto:jeremy@cowgar.com">jeremy@cowgar.com</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> Does the JSON interface work via the command line? \
It'd be a bummer for a user wanting to simply script fossil to have to run a \
server just to do some local scripting.<br></blockquote><div><br></div><div>It can \
run in CLI or server modes, "mostly" identically. In CLI mode it takes most \
parameters as positional CLI args and can optionally take an HTTP-like request \
envelope from stdin or a file:</div> <div><br></div><div>See this section of the docs \
for details and examples:</div><div><br></div><div><a \
href="https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/ \
edit?hl=en_US#heading=h.18640dyuzk2j">https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/edit?hl=en_US#heading=h.18640dyuzk2j</a></div>
<div><br></div><div><br></div></div>-- <br>----- stephan beal<br><a \
href="http://wanderinghorse.net/home/stephan/" \
target="_blank">http://wanderinghorse.net/home/stephan/</a><div><a \
href="http://gplus.to/sgbeal" target="_blank">http://gplus.to/sgbeal</a></div> <br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic