jaredpalmer / jaredpalmer/backpack

CLI options (--entry)

Open
#21 10 comments 10 reactions 0 assignees View on GitHub
Priority: Medium Status: Feature Request Status: Help Wanted Type: Enhancement
Dominant language
JavaScript
Stars
4.4k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

Hey! I really love how easy backpack makes writing scripts and servers :D

One thing that I would like to see is the ability to provide some options when running backpack. I know it is mainly build to run "a project" now, but when writing scripts I sometimes want to run specific files to test them out or bootstrap something quickly.

I suggest adding a `--entry ` option, that would... use a different entry file :D

If this is something you think would be cool (😎) I'd love to make a PR for it!

Contributor guide

Open the contributing guide

Research direction

Start at Backpack’s CLI entry point and trace how the current project entry file is selected. Define the expected behavior for --entry and confirm completion by running Backpack with a specified file and verifying that file is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, webpack
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.