-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*\ | ||
TypeScript Library of the Mastodon CLI | ||
Copyright (c) TypeScriptLibs and Contributors | ||
Licensed under the MIT License. | ||
You may not use this file except in compliance with the License. | ||
You can get a copy of the License at https://typescriptlibs.org/LICENSE.txt | ||
\*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*/ | ||
export declare const HELP = "\nnpx tsl-mastodon-cli [COMMAND] [OPTIONS]\n\nCOMMAND:\n post-status Posts a status to the timeline.\n\nOPTIONS:\n --api [str] API address of the Mastodon server.\n --api2 [str] API v2 address of the Mastodon server.\n --help -h Show this help.\n --media [str] Media path.\n --text [str] Text string.\n --token [hex] API token.\n --version -v Shows the CLI version.\n --visibility [str] Post visibility: direct, private, public, unlisted.\n\n"; | ||
export declare const VERSION: any; | ||
export declare function run(argv: Array<string>): Promise<string>; | ||
declare const _default: { | ||
HELP: string; | ||
VERSION: any; | ||
run: typeof run; | ||
}; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*\ | ||
TypeScript Library of the Mastodon CLI | ||
Copyright (c) TypeScriptLibs and Contributors | ||
Licensed under the MIT License. | ||
You may not use this file except in compliance with the License. | ||
You can get a copy of the License at https://typescriptlibs.org/LICENSE.txt | ||
\*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*/ | ||
import * as Types from './Types.js'; | ||
export declare function postStatus(context: Types.Context, args: Types.Arguments): Promise<string>; | ||
declare const _default: { | ||
postStatus: typeof postStatus; | ||
}; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*\ | ||
TypeScript Library of the Mastodon CLI | ||
Copyright (c) TypeScriptLibs and Contributors | ||
Licensed under the MIT License. | ||
You may not use this file except in compliance with the License. | ||
You can get a copy of the License at https://typescriptlibs.org/LICENSE.txt | ||
\*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*/ | ||
import * as Mastodon from 'tsl-mastodon-api'; | ||
export type Arguments = Record<string, ArgumentValue>; | ||
export type ArgumentValue = (boolean | string | Array<(boolean | string)>); | ||
export interface Context { | ||
api: Mastodon.API; | ||
api2: Mastodon.API; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*\ | ||
TypeScript Library of the Mastodon CLI | ||
Copyright (c) TypeScriptLibs and Contributors | ||
Licensed under the MIT License. | ||
You may not use this file except in compliance with the License. | ||
You can get a copy of the License at https://typescriptlibs.org/LICENSE.txt | ||
\*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*/ | ||
import * as Types from "./Types.js"; | ||
export declare function extractArguments(argv: Array<string>): Types.Arguments; | ||
export declare const info: { | ||
(...data: any[]): void; | ||
(message?: any, ...optionalParams: any[]): void; | ||
}; | ||
declare const _default: { | ||
extractArguments: typeof extractArguments; | ||
info: { | ||
(...data: any[]): void; | ||
(message?: any, ...optionalParams: any[]): void; | ||
}; | ||
}; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.