Giter Site home page Giter Site logo

aoc-cli's Introduction

aoc-cli

An opinionated scaffolder for Advent of Code

Installation

pip install aoc-cli

Optionally install language-specific plugins such as pip install aoc-cli-deno.

Usage

Scaffold a project with aoc init --language <python> --year <current year if december, else previous year> --location .

All other subcommands are directory aware:

*Note: plugins (specified with the --language flag) may alter the functionality below but in general...

aoc get downloads the input for the day aoc run <part> executes the function specified in (1 or 2) file for the day aoc submit <part> executes the function specified in (1 or 2) file for the day, then submits the answer to the form aoc open opens the current day in the browser

aoc-cli's People

Contributors

emilkloeden avatar

Watchers

 avatar  avatar

aoc-cli's Issues

Add testing

Tests are noticeably absent at this point in time.

Also to add, test coverage and pre-merge checks.

Automated builds using GitHub Actions

The steps to mark a new release are tedious and error prone and currently consist of

  • Bumping version in init.py (can we simply delete this?)
  • Bumping version in pyproject.toml
  • (Potentially) Incrementing the aoc-cli-python dependency
  • running rm -recurse -force ./dist (not sure this is necessary
  • running py -m build
  • running py -m twine upload dist/* (requires TWINE_USERNAME and TWINE_PASSWORD to be set)

Completing this issue would mean a push of a tag to GitHub would trigger a release to PyPI.

Of course the project should also have some tests

Improve documentation

The README could use a lot of work to make it more approachable.

The project has two core audiences - users and contributors/plugin authors, documentation should be written with these two audiences in mind.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.