fint-consumer

command module
v2.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 8 Imported by: 0

README

fint-consumer

Build Status MIT license

Description

Generates Java consumer code from EA XMI export. This utility is mainly for internal FINT use, but if you find it useful, please use it!

Usage

$ fint-consumer
NAME:
   fint-consumer - Generates consumer code from EA XMI export. This utility is mainly for internal FINT use, but if you find it usefull, please use it!

USAGE:
   fint-consumer [global options] command [command options] [arguments...]

VERSION:
   2.0.0

AUTHOR:
   FINTLabs

COMMANDS:
     generate      generates consumer code
     listPackages  list Java packages
     listTags      list tags
     listBranches  list branches
     setup         setup a consumer project
     help, h       Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --owner value          Git repository containing model (default: "FINTLabs") [$GITHUB_OWNER]
   --repo value           Git repository containing model (default: "fint-informasjonsmodell") [$GITHUB_PROJECT]
   --filename value       File name containing information model (default: "FINT-informasjonsmodell.xml") [$MODEL_FILENAME]
   --tag value, -t value  the tag (version) of the model to generate (default: "latest")
   --force, -f            force downloading XMI for GitHub.
   --help, -h             show help
   --version, -v          print the version

The downloaded XMI file is put in the $HOME/.fint-consumer/.cache. If you don't use the force flag and the file exists in the cache directory it uses this one.

Install

Binaries
Binaries

Precompiled binaries are available as Docker images

Mount the directory where you want the generated source code to be written as /src.

Linux / MacOS:

docker run -v $(pwd):/src fint/fint-consumer:2.1.0 <ARGS>

Windows PowerShell:

docker run -v ${pwd}:/src fint/fint-consumer:2.1.0 <ARGS>
Go

To install, use go get:

go get -d github.com/FINTLabs/fint-consumer
go install github.com/FINTLabs/fint-consumer

Author

FINTLabs

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL