Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically cd if pubspec.yaml is in the file hierarchy above #743

Open
bartekpacia opened this issue Jan 10, 2023 · 0 comments
Open

Automatically cd if pubspec.yaml is in the file hierarchy above #743

bartekpacia opened this issue Jan 10, 2023 · 0 comments
Assignees
Labels
feature New feature request P2 Issues not at the top of the work list package: patrol_cli Related to the patrol_cli package

Comments

@bartekpacia
Copy link
Contributor

bartekpacia commented Jan 10, 2023

The flutter command is lenient for its users. If it is run in a subdirectory of a Flutter project, it automatically cds to the root.

Example:

In Flutter root:

$ flutter build apk #
$ cd android
$ flutter build apk # works
Changing current working directory to: /Users/bartek/dev/leancode/patrol/packages/patrol/example
$ cd android/app/src/main
$ flutter build apk # works
Changing current working directory to: /Users/bartek/dev/leancode/patrol/packages/patrol/example

Patrol should to the same to be maximally familiar to its Flutter users.

@bartekpacia bartekpacia added package: patrol_cli Related to the patrol_cli package tweak labels Jan 10, 2023
@bartekpacia bartekpacia self-assigned this Feb 8, 2023
@bartekpacia bartekpacia added feature New feature request and removed tweak labels Nov 9, 2023
@bartekpacia bartekpacia removed their assignment Nov 20, 2023
@jBorkowska jBorkowska added P1 High-priority issues at the top of the work list P2 Issues not at the top of the work list and removed P1 High-priority issues at the top of the work list labels Nov 20, 2023
@karolinaoparczyk karolinaoparczyk self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request P2 Issues not at the top of the work list package: patrol_cli Related to the patrol_cli package
Projects
None yet
Development

No branches or pull requests

3 participants