Giter VIP home page Giter VIP logo

dk-assist's Introduction

dk-assist's People

Contributors

jooaodanieel avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dk-assist's Issues

Create a GitHub Release for Windows

DKAssist has automatic releases with a GitHub Actions workflow.

But currently it only supports Linux and Mac releases -- see the workflow definition

In this issue, we're asking for contributions to
create an automatic release of DKAssist for Windows via GitHub Actions

note: don't forget to update the README accordingly ๐Ÿš€

Update AUR release automatically

DKAssist is available at the AUR for an easier installation for arch-linux-based OS.
But, the process of releasing is done manually.

In this issue, we're asking for contributions to
automate this process via GitHub Actions

note: don't forget to update the README accordingly ๐Ÿš€

Infer `.env` is required

DKAssist supports listing required files and specifications of environment variables.

When there is any variable specified in the envSample block, DKAssist shouldn't need .env to be listed under requiredFiles.

In this issue, we're asking for contributions to
automatically inferring that .env is required when there is information in the envSample block

note: don't forget to update the README accordingly ๐Ÿš€

New command `update`

DKAssist supports the scaffold command, that reads the configuration and generate all the required files.

In particular, it pre-populates the .env with the data in the config.

In this issue, we're asking for contributions to
a new command update that adds to .env only the missing variables

For example, suppose this is the state of a repository

Assistfile.json

{
  ...
  "envSample": [
    {
      "name": "DATABASE_CONNECTION_URL"
    },
    {
      "name": "CORS_ENABLED",
      "description": "The address(es) enabled by CORS",
      "default": "*"
    }
  ]
}

.env

# The address(es) enabled by CORS
CORS_ENABLED="*"

In this case, note the variable DATABASE_CONNECTION_URL is listed in Assistfile.json, but it's missing from .env.

Then, running dk-assist update would change .env file to be

.env post-update

# The address(es) enabled by CORS
CORS_ENABLED="*"

DATABASE_CONNECTION_URL=

note: don't forget to update the README accordingly ๐Ÿš€

Recursively search the config file

DKAssist works based on a config file placed at the root folder.
Although, sometimes we're running commands from a deeper directory.

In this issue, we're asking for contributions to
search the config file in the current directory and recursively in the parent

note: don't forget to update the README accordingly ๐Ÿš€

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.