You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* link to packwerk
* make filenames into preformatted text
* Move query methods up front
* Consolidate the way to use it, and how it loads local context
* Break out commands to 3 sections
* sentence structure
* Fix github urls
* remove rbs if we aren't using it
* Fix reference to welcome
* another help reference
Copy file name to clipboardExpand all lines: README.md
+25-19Lines changed: 25 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# QueryPackwerk
2
2
3
-
QueryPackwerk is a Ruby gem for querying and analyzing Packwerk violations in Ruby applications.
4
-
It provides a friendly API for exploring package.yml and package_todo.yml files, making it easier to manage module boundaries and dependencies in your codebase.
3
+
QueryPackwerk is a Ruby gem for querying and analyzing [Packwerk](https://github.com/Shopify/packwerk) violations in Ruby applications.
4
+
It provides a friendly API for exploring `package.yml` and `package_todo.yml` files, making it easier to manage module boundaries and dependencies in your codebase.
5
5
6
6
## Installation
7
7
8
-
This gem provides a cli interface that can be used independently from your application.
8
+
This gem provides a CLI interface that can be used independently from your application.
The easiest way to use QueryPackwerk is through its interactive console:
24
+
The easiest way to use QueryPackwerk is through its interactive console. This will use the local directory Packwerk context and provide you with all QueryPackwerk methods.
25
25
26
26
```bash
27
27
query_packwerk console
28
28
```
29
29
30
-
When the console loads, it will print a welcome message. You can access it any time with `help`:
30
+
The CLI includes a welcome message with a list of commands. You can access it any time with `welcome`:
31
31
32
32
```
33
-
query_packwerk:001:0> help
33
+
query_packwerk:001:0> welcome
34
34
```
35
35
36
-
The console will use the local directory Packwerk context and provide you with all QueryPackwerk methods.
0 commit comments