Skip to content

Commit 9d26bd6

Browse files
committed
Release and deprecated folder option
1 parent a4c8ef8 commit 9d26bd6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ you can customize your newly created paste:
8888
- unlisted
8989
- private
9090

91+
> folders are not supported! This is due to the pasting API not processing the folder option when making the request. It can't be fixed within this repository
92+
9193
# installation
9294

93-
download the latest built executable for your system and add it to your PATH variable.
95+
`npm install -g pasty`

bin/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ yargs(hideBin(process.argv))
113113
})
114114
.option('fol', {
115115
alias: 'folder',
116-
describe: 'the folder of your paste',
116+
describe:
117+
"the folder of your paste (not working due to pastebin's api)",
117118
default: '',
118119
requiresArg: true,
120+
deprecated: true,
119121
})
120122
.conflicts('f', 's');
121123
},

0 commit comments

Comments
 (0)