Skip to content

Commit f6f07c5

Browse files
committed
Use lowercase for cli tool
1 parent e21e265 commit f6f07c5

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ A command line tool to run your code against sample test cases. Without leaving
2323

2424
##### As a Python package
2525
```
26-
pip install ACedIt
26+
pip install --user ACedIt
2727
```
2828

2929
#### Usage
3030
```
31-
usage: ACedIt [-h] [-s SITE] [-c CONTEST] [-p PROBLEM] [-f]
31+
usage: acedit [-h] [-s SITE] [-c CONTEST] [-p PROBLEM] [-f]
3232
[--run SOURCE_FILE]
3333
[--set-default-site {codeforces,codechef,hackerrank,spoj}]
3434
[--set-workdir WORKDIR]
@@ -74,36 +74,36 @@ workdir
7474
During installation, ACedIt will set up the basic working directory structure.
7575
While prefetching test cases, it will modify the same accordingly without any user intervention.
7676

77-
***But in case you're writing your code in some other directory, you can use `ACedIt --run <SOURCE_FILE> -s SITE -c CONTEST -p PROBLEM`. You can omit `-s` as it'll take the default site.***
77+
***But in case you're writing your code in some other directory, you can use `acedit --run <SOURCE_FILE> -s SITE -c CONTEST -p PROBLEM`. You can omit `-s` as it'll take the default site.***
7878

7979
***But there's no need to specify the `-s`, `-c` and `-p` flags if you follow the above mentioned directory structure (ACedIt will create most of it for you on the fly :)***
8080

8181
#### Examples
8282
+ Fetch test cases for a single problem
8383
```
84-
ACedIt -s codechef -c AUG17 -p CHEFFA
84+
acedit -s codechef -c AUG17 -p CHEFFA
8585
```
8686
+ Fetch test cases for all problems in a contest
8787
```
88-
ACedIt -s codechef -c AUG17
88+
acedit -s codechef -c AUG17
8989
```
9090
+ Force download test cases, even when they are cached
9191
```
92-
ACedIt -s codeforces -c 86 -p D -f
92+
acedit -s codeforces -c 86 -p D -f
9393
```
9494
+ Test your code against sample cases (when following the recommended directory structure)
9595
```
96-
ACedIt --run D.cpp
96+
acedit --run D.cpp
9797
```
9898
```
99-
ACedIt --run CHEFFA.py
99+
acedit --run CHEFFA.py
100100
```
101101
+ Test your code against sample cases (from any other directory)
102102
```
103-
ACedIt --run solve.cpp -c 835 -p D
103+
acedit --run solve.cpp -c 835 -p D
104104
```
105105
```
106-
ACedIt --run test.py -s codechef -c AUG17 -p CHEFFA
106+
acedit --run test.py -s codechef -c AUG17 -p CHEFFA
107107
```
108108

109109
##### Note :

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ As a Python package
4343

4444
::
4545

46-
pip install ACedIt
46+
pip install --user ACedIt
4747

4848
Usage
4949
^^^^^
5050

5151
::
5252

53-
usage: ACedIt [-h] [-s SITE] [-c CONTEST] [-p PROBLEM] [-f]
53+
usage: acedit [-h] [-s SITE] [-c CONTEST] [-p PROBLEM] [-f]
5454
[--run SOURCE_FILE]
5555
[--set-default-site {codeforces,codechef,hackerrank,spoj}]
5656
[--set-workdir WORKDIR]
@@ -100,7 +100,7 @@ organized :)
100100
| During installation, ACedIt will set up the basic working directory structure.
101101
| While prefetching test cases, it will modify the same accordingly without any user intervention.
102102
103-
But in case you’re writing your code in some other directory, you can use ``ACedIt --run <SOURCE_FILE> -s SITE -c CONTEST -p PROBLEM``. You can omit ``-s`` as it’ll take the default site.
103+
But in case you’re writing your code in some other directory, you can use ``acedit --run <SOURCE_FILE> -s SITE -c CONTEST -p PROBLEM``. You can omit ``-s`` as it’ll take the default site.
104104

105105
But there’s no need to specify the ``-s``, ``-c`` and ``-p`` flags if you follow the above mentioned directory structure (ACedIt will create most of it for you on the fly :)
106106

@@ -112,39 +112,39 @@ Examples
112112

113113
::
114114

115-
ACedIt -s codechef -c AUG17 -p CHEFFA
115+
acedit -s codechef -c AUG17 -p CHEFFA
116116

117117
- Fetch test cases for all problems in a contest
118118

119119
::
120120

121-
ACedIt -s codechef -c AUG17
121+
acedit -s codechef -c AUG17
122122

123123
- Force download test cases, even when they are cached
124124

125125
::
126126

127-
ACedIt -s codeforces -c 86 -p D -f
127+
acedit -s codeforces -c 86 -p D -f
128128

129129
- Test your code against sample cases (when following the recommended directory structure)
130130

131131
::
132132

133-
ACedIt --run D.cpp
133+
acedit --run D.cpp
134134

135135
::
136136

137-
ACedIt --run CHEFFA.py
137+
acedit --run CHEFFA.py
138138

139139
- Test your code against sample cases (from any other directory)
140140

141141
::
142142

143-
ACedIt --run solve.cpp -c 835 -p D
143+
acedit --run solve.cpp -c 835 -p D
144144

145145
::
146146

147-
ACedIt --run test.py -s codechef -c AUG17 -p CHEFFA
147+
acedit --run test.py -s codechef -c AUG17 -p CHEFFA
148148

149149
Note :
150150
''''''
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

images/demo.gif

-169 KB
Loading

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import sys
77

8-
from ACedIt.install_entry import InstallEntry
8+
from acedit.install_entry import InstallEntry
99

1010
with open('requirements.txt', 'r') as f:
1111
requirements = [line.strip() for line in f.readlines()]
@@ -17,9 +17,9 @@
1717
setup(
1818
name='ACedIt',
1919

20-
packages=['ACedIt'],
20+
packages=['acedit'],
2121

22-
version='1.0.1',
22+
version='1.0.4',
2323

2424
description='Download and test against sample test cases from any competitive programming website',
2525

@@ -30,7 +30,7 @@
3030
install_requires=requirements,
3131

3232
entry_points={
33-
'console_scripts': ['ACedIt=ACedIt.main:main']
33+
'console_scripts': ['acedit=acedit.main:main']
3434
},
3535

3636
zip_safe=False,

0 commit comments

Comments
 (0)