Skip to content

icm generates or validates single data or whole data sets of intermodal container markings according to ISO 6346.

License

Notifications You must be signed in to change notification settings

meyermarcel/icm

Repository files navigation

build Go Report Card

icm (intermodal container markings)

icm generates or validates single data or whole data sets of intermodal container markings according to ISO 6346.

See examples for generate command and validate command.

Demo

Demo

Installation

macOS with Homebrew

brew install meyermarcel/tap/icm
brew install meyermarcel/tap/icm

Windows with Scoop

scoop bucket add meyermarcel-bucket https://github.com/meyermarcel/scoop-bucket.git
scoop install icm

Manual

Download your binary in the Releases section.

See the completion command for bash, zsh, fish and powershell completions.

See the doc command for manual pages and markdown.

Contribution

  1. Fork it

  2. Download your fork

    git clone https://github.com/github_username/icm && cd icm
    
  3. Create your feature branch

    git checkout -b my-new-feature
    
  4. Make changes and add them

    git add .
    
  5. Commit your changes

    git commit -m 'Add some feature'
    
  6. Push to the branch

    git push origin my-new-feature
    
  7. Create new pull request

Development

  1. Requirements

  2. To build project execute

    make
    

    See all available make targets

    make <TAB> <TAB>
    

Release

  1. Dry run with goreleaser

    goreleaser release --clean --skip=validate --skip=publish
    
  2. Create version tag according to SemVer

    git tag 'x.y.z'
    
  3. Push tag and let GitHub Actions and Goreleaser do the work

    git push --tags
    

License

icm is released under the MIT license. See LICENSE