Commit 8a3798d
authored
Refactor RAPx CLI with enhanced argument parsing and help messages (#229)
* Refactor RAPx CLI
- Added Clap for command-line argument parsing, enhancing usability and consistency with Cargo.
- Introduced a new configuration module to manage command options and analysis types.
- Removed deprecated help file and integrated help messages directly into the CLI structure.
- Streamlined the analysis process by consolidating various analysis options into a unified command structure.
- Updated the main execution flow to accommodate new command parsing and analysis initiation.
- Removed unused functions and cleaned up the codebase for better maintainability.
- Enhanced logging and error handling throughout the application.
* feat: add CLI argument parsing with color-print support and enhance help messages
* remove redundant imports
* fix all tests
* update README.md
* fix typo errors
* rename config to args
* update rapx version to 0.7.01 parent fffe32d commit 8a3798d
14 files changed
Lines changed: 719 additions & 710 deletions
File tree
- rapx
- src
- analysis/core/alias_analysis/default
- bin
- cargo-rapx
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
66 | 52 | | |
67 | 53 | | |
68 | | - | |
| 54 | + | |
69 | 55 | | |
70 | 56 | | |
71 | | - | |
| 57 | + | |
| 58 | + | |
72 | 59 | | |
73 | | - | |
| 60 | + | |
74 | 61 | | |
75 | | - | |
| 62 | + | |
76 | 63 | | |
77 | | - | |
| 64 | + | |
78 | 65 | | |
79 | 66 | | |
| 67 | + | |
80 | 68 | | |
81 | 69 | | |
82 | | - | |
| 70 | + | |
83 | 71 | | |
84 | 72 | | |
85 | 73 | | |
| |||
98 | 86 | | |
99 | 87 | | |
100 | 88 | | |
101 | | - | |
| 89 | + | |
102 | 90 | | |
103 | 91 | | |
104 | 92 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments