Skip to content

Commit

Permalink
Quick Save
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdoiel committed Jun 20, 2023
1 parent 21ad498 commit ef45b73
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 10 deletions.
51 changes: 51 additions & 0 deletions INSTALL.md
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.


32 changes: 32 additions & 0 deletions fadein2osf.1.md
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
18 changes: 9 additions & 9 deletions man/man1/fadein2osf.1
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ OPTIONS
.IP
.nf
\f[C]
-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
-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
\f[R]
.fi
.PP
Expand Down
32 changes: 32 additions & 0 deletions osf2txt.1.md
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
32 changes: 32 additions & 0 deletions txt2osf.1.md
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
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const (
ReleaseDate = "2023-06-20"

// ReleaseHash, the Git hash when version.go was generated
ReleaseHash = "9c72e5f"
ReleaseHash = "21ad498"

LicenseText = `
All rights reserved.
Expand Down

0 comments on commit ef45b73

Please sign in to comment.