Swiftpack.co -  Nef10/SwiftBeanCountCLI as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Nef10/SwiftBeanCountCLI
Command line tool for SwiftBeanCount
.package(url: "https://github.com/Nef10/SwiftBeanCountCLI.git", from: "v0.0.3")

SwiftBeanCountCLI

CI Status License: MIT Latest version platforms supported: linux | macOS

This project is part for SwiftBeanCount, please check out the main documentation here.

What

This is the command line tool of SwiftBeanCount.

Usage

As this is currently an alpha version, it only supports this very limited list of functions:

  • check Parses your ledger and prints any errors it finds
  • stats Statistics of a ledger (e.g. # of transactions)
  • accounts Print all accounts

Installation

This executable is built using the Swift Package Manger, so it can be installed via Mint:

mint install Nef10/SwiftBeanCountCLI

Completion

Thanks to the swift-argument-parser you can generate autocompletion scripts via swiftbeancount --generate-completion-script {zsh|bash|fish}. The exact command for your shell may vary, but for example for zsh with ~/.zfunctions in your fpath you can use:

swiftbeancount --generate-completion-script zsh > ~/.zfunctions/_swiftbeancount

GitHub

link
Stars: 0
Last commit: Yesterday

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

0.0.3 Autocompletion
20 weeks ago

add autocompletion

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API