Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 70eab63

Browse files
upgrade: v0.2.21
1 parent 0e9989e commit 70eab63

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.2.21
2+
3+
+ Make programmable support to be an advanced feature
4+
15
## v0.2.20
26

37
+ Support sup/sub style for numbers

‎Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ path = "src/bin/lc.rs"
44

55
[package]
66
name = "leetcode-cli"
7-
version = "0.2.20"
7+
version = "0.2.21"
88
authors = ["clearloop <cdr.today@foxmail.com>"]
99
edition = "2018"
1010
description = "Leet your code in command-line."
@@ -22,15 +22,15 @@ clap = "2.33.0"
2222
colored = "1.9.1"
2323
dirs = "2.0.2"
2424
env_logger = "0.7.1"
25+
escaper = "0.1.0"
2526
keyring = "0.8.0"
2627
log = "0.4"
2728
openssl = "0.10.26"
29+
pyo3 = { version = "0.8.5", optional = true }
2830
rand = "0.7.2"
2931
serde = { version = "1.0.104", features = ["derive"] }
3032
serde_json = "1.0.44"
31-
pyo3 = { version = "0.8.5", optional = true }
3233
toml = "0.5.5"
33-
escaper = "0.1.0"
3434

3535
[dependencies.diesel]
3636
version = "1.4.3"

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cargo install leetcode-cli
3030
**Please make sure you have logined in `leetcode.com` with `chrome`**, more info plz checkout [this](#cookies)
3131

3232
```sh
33-
leetcode 0.2.20
33+
leetcode 0.2.21
3434
May the Code be with You 👻
3535

3636
USAGE:

‎src/cmds/pick.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ impl Command for PickCommand {
4747
.about("Pick a problem")
4848
.visible_alias("p")
4949
.arg(Arg::with_name("id").help("Problem id").takes_value(true))
50+
.arg(
51+
Arg::with_name("plan")
52+
.short("p")
53+
.long("plan")
54+
.takes_value(true)
55+
.help("Invoking python scripts to filter questions"),
56+
)
5057
.arg(
5158
Arg::with_name("query")
5259
.short("q")

‎src/lib.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
//! [![Crates.io](https://img.shields.io/crates/d/leetcode-cli.svg)](https://crates.io/crates/leetcode-cli)
55
//! [![LICENSE](https://img.shields.io/crates/l/leetcode-cli.svg)](https://choosealicense.com/licenses/mit/)
66
//!
7+
//! ## Contributors
8+
//! + [@hulufi](https://github.com/hulufei)
9+
//! + [@ldm0](https://github.com/ldm0)
10+
//! + [@Raees678](https://github.com/Raees678)
11+
//! + [@clearloop](https://github.com/clearloop)
12+
//!
713
//! ## Features
814
//!
915
//! + [x] the edit flow —— solution files will generate automatically!
1016
//! + [x] support python script to filter questions
1117
//! + [ ] doc support, `lc-rs` can compile the annotation of your solutions to markdown!
1218
//! + [ ] support local signal to keep coding as longer as you want.
1319
//!
14-
//!
1520
//! ## Building
1621
//!
1722
//! ```sh
@@ -23,7 +28,7 @@
2328
//! **Please make sure you have logined in `leetcode.com` with `chrome`**, more info plz checkout [this](#cookies)
2429
//!
2530
//! ```sh
26-
//! leetcode 0.2.20
31+
//! leetcode 0.2.21
2732
//! May the Code be with You 👻
2833
//!
2934
//! USAGE:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /