-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
157 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
|
||
Installation | ||
------------ | ||
|
||
This project is experimental. Get the latest release from [GitHub](https://github.com/rsdoiel/osf/releases/). | ||
|
||
Quick install with curl | ||
----------------------- | ||
|
||
If you are using macOS or Linux you maybe able to install osf using the following curl command. | ||
|
||
~~~shell | ||
curl https://rsdoiel.github.io/osf/installer.sh | sh | ||
~~~ | ||
|
||
Install from source | ||
------------------- | ||
|
||
## Requirements | ||
|
||
- Golang >= 1.20 | ||
- Pandoc >= 3 | ||
- GNU Make | ||
- Git | ||
|
||
## Steps | ||
|
||
1. Clone the Git repository for the project | ||
2. change directory into the cloned project | ||
3. Run `make`, `make test` and `make install` | ||
|
||
Here's what that looks like for me. | ||
|
||
~~~ | ||
git clone https://github.com/rsdoiel/osf src/github.com/rsdoiel/osf | ||
cd src/github.com/rsdoiel/osf | ||
make | ||
make test | ||
make install | ||
~~~ | ||
|
||
By default it will install the programs in `$HOME/bin`. `$HOME/bin` needs | ||
to be included in your `PATH`. E.g. | ||
|
||
~~~ | ||
export PATH="$HOME/bin:$PATH" | ||
~~~ | ||
|
||
Can be added to your `.profile`, `.bashrc` or `.zshrc` file depending on your system's shell. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
USAGE: fadein2osf [OPTIONS] | ||
|
||
DESCRIPTION | ||
|
||
fadein2osf is a command line program that reads an ".fadein" file | ||
and write outs a OSF 2.0 XML. | ||
|
||
OPTIONS | ||
|
||
-generate-manpage generate man page | ||
-generate-markdown generate Markdown documentation | ||
-h, -help display help | ||
-i, -input set the input filename | ||
-l, -license display license | ||
-nl, -newline add a trailing newline | ||
-o, -output set the output filename | ||
-quiet suppress error messages | ||
-v, -version display version | ||
|
||
|
||
EXAMPLES | ||
|
||
Convert *screenplay.fadein* into *screenplay.osf*. | ||
|
||
fadein2osf -i screenplay.fadein -o screenplay.osf | ||
|
||
Display converted OSF 2.0 XML to the console | ||
|
||
fadein2osf -i screenplay.fadein | ||
|
||
fadein2osf 0.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
USAGE: osf2txt [OPTIONS] | ||
|
||
DESCRIPTION | ||
|
||
osf2txt is a command line program that reads an osf file | ||
and returns plain text | ||
|
||
OPTIONS | ||
|
||
-generate-manpage generate man page | ||
-generate-markdown generate Markdown documentation | ||
-h, -help display help | ||
-i, -input set the input filename | ||
-l, -license display license | ||
-nl, -newline add a trailing newline | ||
-o, -output set the output filename | ||
-quiet suppress error messages | ||
-v, -version display version | ||
|
||
|
||
EXAMPLES | ||
|
||
Convert *screenplay.osf* into *screenplay.txt*. | ||
|
||
osf2txt -i screenplay.osf -o screenplay.txt | ||
|
||
Or alternatively | ||
|
||
cat screenplay.osf | osf2txt > screenplay.txt | ||
|
||
osf2txt 0.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
USAGE: txt2osf [OPTIONS] | ||
|
||
DESCRIPTION | ||
|
||
txt2osf is a command line program that reads an plain text file | ||
and returns an OSF 2.0 text | ||
|
||
OPTIONS | ||
|
||
-generate-manpage generate man page | ||
-generate-markdown generate Markdown documentation | ||
-h, -help display help | ||
-i, -input set the input filename | ||
-l, -license display license | ||
-nl, -newline add a trailing newline | ||
-o, -output set the output filename | ||
-quiet suppress error messages | ||
-v, -version display version | ||
|
||
|
||
EXAMPLES | ||
|
||
Convert *screenplay.txt* into *screenplay.osf*. | ||
|
||
txt2osf -i screenplay.txt -o screenplay.osf | ||
|
||
Or alternatively | ||
|
||
cat screenplay.txt | txt2osf > screenplay.osf | ||
|
||
txt2osf 0.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters