We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d663e8f commit 706a89dCopy full SHA for 706a89d
CHANGELOG.md
@@ -1,3 +1,6 @@
1
+## v0.2.5
2
+sync config while change current lang
3
+
4
## v0.2.5
5
update local cache when submission status changes
6
Cargo.toml
@@ -4,7 +4,7 @@ path = "src/bin/lc.rs"
[package]
name = "leetcode-cli"
7
-version = "0.2.5"
+version = "0.2.6"
8
authors = ["clearloop <udtrokia@163.com>"]
9
edition = "2018"
10
description = "Leet your code in command-line."
README.md
@@ -23,7 +23,7 @@ cargo install leetcode-cli
23
**Please make sure you have logined in `leetcode.com` with `chrome`**, more info plz checkout [this](#cookies)
24
25
```sh
26
-leetcode 0.2.3
+leetcode 0.2.6
27
clearloop <udtrokia@163.com>
28
Here's to the crazy ones 👻
29
examples/pym.rs
src/cfg.rs
@@ -82,7 +82,7 @@ impl Config {
82
/// Sync new config to config.toml
83
pub fn sync(&self) -> Result<(), crate::Error> {
84
let home = dirs::home_dir()?;
85
- let conf = home.join(".leetcode/conf.toml");
+ let conf = home.join(".leetcode/leetcode.toml");
86
fs::write(conf, toml::ser::to_string_pretty(&self)?)?;
87
88
Ok(())
src/cli.rs
@@ -13,7 +13,7 @@ use clap::{App, AppSettings};
13
pub fn main() -> Result<(), Error> {
14
let m = App::new("leetcode")
15
.author("clearloop <udtrokia@163.com>")
16
- .version("0.2.5")
+ .version("0.2.6")
17
.about("Here's to the crazy ones 👻")
18
.subcommands(vec
//!
//! ```sh
-//! leetcode 0.2.5
+//! leetcode 0.2.6
//! clearloop <udtrokia@163.com>
//! Here's to the crazy ones 👻
src/plugins/chrome.rs
@@ -66,7 +66,7 @@ pub fn cookies() -> Result<Ident, crate::Error> {
.load::<Cookies>(&conn)
67
.expect("Loading cookies from google chrome failed.");
68
69
- println!("res {:?}", &res);
+ debug!("res {:?}", &res);
70
if res.len() == (0 as usize) {
71
return Err(crate::Error::CookieError);
72
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments