mirror of
https://github.com/on4kjm/FLEcli.git
synced 2025-01-31 06:51:02 +01:00
Improve documentation
This commit is contained in:
parent
ef2d33f20f
commit
da680bc04e
4 changed files with 53 additions and 7 deletions
44
README.md
44
README.md
|
@ -6,3 +6,47 @@ Multi-platform "Fast Log Entry"(FLE) processing tool.
|
|||
This tool is intended to process FLE formated files on other platform than Windows. The FLE file format is described on https://www.df3cb.com/fle/documentation/
|
||||
|
||||
But is also the alibi to learn and explore GO.
|
||||
|
||||
## Usage
|
||||
|
||||
### Installing
|
||||
Running on a Mac, Linux, windows
|
||||
|
||||
### Commands and options
|
||||
|
||||
```
|
||||
Usage:
|
||||
FLEcli [command]
|
||||
|
||||
Available Commands:
|
||||
adif Generates an ADIF file based on a FLE type shorthand logfile.
|
||||
csv Generates a SOTA .csv file based on a FLE type shorthand logfile.
|
||||
help Help about any command
|
||||
load Loads and validates a FLE type shorthand logfile
|
||||
|
||||
Flags:
|
||||
--config string config file (default is $HOME/.FLEcli.yaml)
|
||||
-h, --help help for FLEcli
|
||||
-i, --input string FLE formatted input file (mandatory)
|
||||
--interpolate Interpolates the missing time entries.
|
||||
-v, --version version for FLEcli
|
||||
|
||||
Use "FLEcli [command] --help" for more information about a command.
|
||||
````
|
||||
|
||||
### Example: validate the FLE syntax
|
||||
|
||||
To load and validate the FLE formated file (.txt):
|
||||
|
||||
>./FLEcli load -i=ON4KJM@ONFF-025920200524.txt
|
||||
|
||||
This command will parse and display the QSOs in grid format.
|
||||
Fields that couldn't be succesfuly parsed are prefixed with "*".
|
||||
Parsing errors or doubts are listed at the end of the display.
|
||||
|
||||
|
||||
### Example: generate an ADIF file
|
||||
### Example: generate an ADIF file for WWFF upload
|
||||
### Example: generate a SOTA csv file
|
||||
|
||||
Display all the options
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package cmd
|
||||
|
||||
//VersionString is the version that will be displayed with the -v switch
|
||||
const VersionString = "v0.0.0.0-6-g7d903fb (2020-07-14)"
|
||||
const VersionString = "v0.0.0.0-7-gef2d33f (2020-07-14)"
|
||||
|
|
|
@ -16,11 +16,11 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
//Documentation of SOTA CSV format: https://www.sotadata.org.uk/en/upload/activator/csv/info
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/spf13/cobra"
|
||||
// "log"
|
||||
//"strings"
|
||||
)
|
||||
|
||||
var outputCsvFilename string
|
||||
|
|
10
todo.md
10
todo.md
|
@ -6,6 +6,7 @@
|
|||
## Test framework
|
||||
* [ ] Perform the test of the complete app
|
||||
* [ ] Improve build processing (cross compile, directory)
|
||||
* [ ] Implement continuous integration
|
||||
|
||||
|
||||
|
||||
|
@ -19,16 +20,17 @@
|
|||
* [ ] Support date not prefixed by "date" (non header mode) DATE keyword is now optional
|
||||
* [ ] Support date increment
|
||||
* [ ] Support WWFF keyword
|
||||
* [ ] Validate that we have the necessary dat for the output
|
||||
* [ ] Validate that we have the necessary data for the output
|
||||
|
||||
## Output processing
|
||||
* [x] WWFF ADIF output
|
||||
* [ ] Standard ADIF output
|
||||
* [ ] SOTA ADIF
|
||||
* [ ] SOTA CSV
|
||||
* [x] Standard ADIF output
|
||||
* [x] SOTA ADIF
|
||||
* [x] SOTA CSV
|
||||
|
||||
## Later
|
||||
* [ ] Process contest reports
|
||||
* [ ] Infer digital mode report
|
||||
* [ ] add unit test for the DefaultReport validate function
|
||||
* [ ] look how to make it work as a CGI
|
||||
|
||||
|
|
Loading…
Reference in a new issue