Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/oclif/oclif
/ functions
Functions
174 in github.com/oclif/oclif
⨍
Functions
174
◇
Types & classes
81
↓ 46 callers
Function
exec
( command: string, opts: ExecOptions, )
test/integration/util.ts:4
↓ 43 callers
Function
exec
( command: string, opts?: ExecOptions & {silent?: boolean}, )
src/generator.ts:50
↓ 28 callers
Function
templateShortKey
( type: 'deb' | 'macos' | 'win32' | keyof Interfaces.S3Templates, options?: TemplateOptions, )
src/upload-util.ts:31
↓ 22 callers
Function
log
(format: string, ...args: unknown[])
src/log.ts:9
↓ 11 callers
Method
dist
(f: string)
src/commands/upload/deb.ts:25
↓ 9 callers
Function
deleteFolder
(bucket: string, folder: string)
test/helpers/helper.ts:31
↓ 8 callers
Function
commitAWSDir
(version: string, sha: string, s3Config: TarballConfig['s3Config'])
src/upload-util.ts:7
↓ 7 callers
Method
commands
(commands: Command.Cached[])
src/readme-generator.ts:69
↓ 5 callers
Function
uniq
(arr: T[])
src/util.ts:28
↓ 4 callers
Function
appendToIndex
(input: { dryRun?: boolean filename: string maxAge: string originalUrl: string s3Config: BuildConfig
src/version-indexes.ts:41
↓ 4 callers
Function
compact
(a: (T | undefined)[])
src/util.ts:23
↓ 4 callers
Function
debArch
(arch: Interfaces.ArchTypes)
src/upload-util.ts:53
↓ 4 callers
Function
debVersion
(buildConfig: TarballConfig)
src/upload-util.ts:61
↓ 4 callers
Function
gitSha
(cwd: string, options: {short?: boolean} = {})
src/tarballs/config.ts:52
↓ 4 callers
Function
pack
(from: string, to: string, c: BuildConfig)
src/tarballs/build.ts:19
↓ 4 callers
Function
prettifyPaths
(input: unknown)
src/util.ts:84
↓ 4 callers
Function
validateBin
(bin: string)
src/util.ts:113
↓ 3 callers
Method
build
(arch: Interfaces.ArchTypes)
src/commands/pack/deb.ts:96
↓ 3 callers
Function
castArray
(input?: T | T[])
src/util.ts:11
↓ 3 callers
Function
copyYarnDirectory
(relativePath: string, yarnRootPath: string, workspacePath: string)
src/tarballs/build.ts:40
↓ 3 callers
Function
hash
(algo: string, fp: string | string[])
src/util.ts:87
↓ 3 callers
Function
readPJSON
( location: string, )
src/generator.ts:67
↓ 3 callers
Method
replaceTag
(readme: string, tag: string, body: string)
src/readme-generator.ts:209
↓ 3 callers
Function
slugify
(str: string)
src/readme-generator.ts:33
↓ 3 callers
Method
usage
()
src/readme-generator.ts:233
↓ 2 callers
Function
build
(c: BuildConfig, options: BuildOptions = {})
src/tarballs/build.ts:90
↓ 2 callers
Function
buildTarget
( target: {arch: Interfaces.ArchTypes; platform: Interfaces.PlatformTypes}, c: BuildConfig, options: Bui
src/tarballs/build.ts:220
↓ 2 callers
Function
checkMaybeOtherValue
()
src/generator.ts:132
↓ 2 callers
Method
commandUsage
(command: Command.Cached)
src/readme-generator.ts:303
↓ 2 callers
Function
deletePrepackScript
* Delete prepack script from package.json because it will generate an oclif.manifest.json * that contains .ts paths (instead of .js) since NODE_ENV=t
test/integration/cli.test.ts:21
↓ 2 callers
Method
executeCommand
( command: string, args: string[], options?: SpawnOptions, )
src/commands/manifest.ts:132
↓ 2 callers
Function
findDistFileSha
( cwd: string, platform: string, filter: (f: string) => boolean, )
test/helpers/helper.ts:13
↓ 2 callers
Function
folderCleanup
()
test/integration/publish.test.ts:67
↓ 2 callers
Function
makeFlags
(flaggablePrompts: T)
src/generator.ts:82
↓ 2 callers
Function
manifest
(path: string, nodeVersion: string)
test/integration/publish.test.ts:35
↓ 2 callers
Function
maybeDefault
()
src/generator.ts:125
↓ 2 callers
Function
maybeFlag
()
src/generator.ts:116
↓ 2 callers
Method
multiCommands
( commands: Command.Cached[], dir: string, nestedTopicsDepth: number | undefined, )
src/readme-generator.ts:135
↓ 2 callers
Function
runTest
(url: string, expectedSha: string, nodeVersion: string)
test/integration/publish.test.ts:46
↓ 2 callers
Method
tableOfContents
(readme: string)
src/readme-generator.ts:221
↓ 2 callers
Function
uniqBy
(arr: T[], fn: (cur: T) => unknown)
src/util.ts:16
↓ 2 callers
Method
write
(file: string, content: string)
src/readme-generator.ts:255
↓ 2 callers
Function
writeWin32
(bin: string)
src/tarballs/bin.ts:24
↓ 1 callers
Function
Tmp
(config: Interfaces.Config)
src/tarballs/config.ts:58
↓ 1 callers
Function
addDependencies
(c: BuildConfig)
src/tarballs/build.ts:163
↓ 1 callers
Function
addDeps
(cwd: string)
test/integration/init.test.ts:66
↓ 1 callers
Method
build
(arch: Interfaces.ArchTypes)
src/commands/pack/macos.ts:193
↓ 1 callers
Function
channelAWSDir
(channel: string, s3Config: TarballConfig['s3Config'])
src/upload-util.ts:13
↓ 1 callers
Function
checkFor7Zip
()
src/util.ts:99
↓ 1 callers
Method
checkForNSIS
()
src/commands/pack/win.ts:363
↓ 1 callers
Method
command
(command: Command.Class)
test/fixtures/cli-with-old-school-custom-help/src/help.ts:4
↓ 1 callers
Method
commandCode
(c: Command.Cached)
src/readme-generator.ts:45
↓ 1 callers
Method
commandPath
(plugin: Interfaces.Plugin, c: Command.Cached)
src/readme-generator.ts:263
↓ 1 callers
Function
compare
(a: Types | Types[], b: Types | Types[])
src/util.ts:34
↓ 1 callers
Function
compile
(cwd: string)
test/integration/init.test.ts:43
↓ 1 callers
Function
copyCoreYarnFiles
(yarnRootPath: string, workspacePath: string)
src/tarballs/build.ts:55
↓ 1 callers
Method
createTopicFile
(file: string, topic: Interfaces.Topic, commands: Command.Cached[])
src/readme-generator.ts:87
↓ 1 callers
Function
determineDefaultAuthor
( user: undefined | {login?: string; name: string | undefined}, defaultValue: string, )
src/commands/generate.ts:42
↓ 1 callers
Method
downloadTarball
(plugin: string, version: string, tarballStoragePath: string)
src/commands/manifest.ts:109
↓ 1 callers
Function
exists
(filePath: string)
test/integration/sf.test.ts:8
↓ 1 callers
Function
extract
()
src/tarballs/node.ts:61
↓ 1 callers
Function
extractCLI
(tarball: string, c: BuildConfig)
src/tarballs/build.ts:203
↓ 1 callers
Function
fetchGithubUser
()
src/commands/generate.ts:38
↓ 1 callers
Function
fetchGithubUserFromAPI
()
src/commands/generate.ts:15
↓ 1 callers
Function
fetchGithubUserFromGit
()
src/commands/generate.ts:31
↓ 1 callers
Function
fetchNodeBinary
({arch, nodeVersion, output, platform, tmp}: Options)
src/tarballs/node.ts:26
↓ 1 callers
Function
fileExists
(filePath: string)
src/commands/manifest.ts:8
↓ 1 callers
Function
fileExists
(path: string)
src/commands/lock.ts:4
↓ 1 callers
Function
findEjsFiles
(location: string)
src/commands/generate.ts:278
↓ 1 callers
Method
formatCommand
(command: Command.Cached)
src/help-compatibility.ts:20
↓ 1 callers
Method
generate
()
src/readme-generator.ts:104
↓ 1 callers
Function
getFilename
(platform: string)
src/tarballs/node.ts:94
↓ 1 callers
Function
getModuleType
()
test/integration/init.test.ts:14
↓ 1 callers
Function
getPackageManager
()
test/integration/init.test.ts:8
↓ 1 callers
Function
getS3ChecksumConfig
(endpoint: string | undefined, envValue: string | undefined)
src/util.ts:121
↓ 1 callers
Function
gitShaSync
(cwd: string, options: {short?: boolean} = {})
test/helpers/helper.ts:25
↓ 1 callers
Function
isLockFile
(f: string)
src/tarballs/build.ts:125
↓ 1 callers
Function
isModuleType
(d: string)
src/commands/init.ts:19
↓ 1 callers
Function
isPackageManager
(d: string)
src/commands/init.ts:15
↓ 1 callers
Function
isS3Compatible
(endpoint: string | undefined)
src/util.ts:117
↓ 1 callers
Function
isYarnProject
(yarnRootPath: string)
src/tarballs/build.ts:33
↓ 1 callers
Function
packCLI
(c: BuildConfig)
src/tarballs/build.ts:198
↓ 1 callers
Function
packForFTP
(buildConfig: Tarballs.BuildConfig, config: Interfaces.Config, dist: string)
src/commands/pack/deb.ts:174
↓ 1 callers
Function
pretarball
(c: BuildConfig)
src/tarballs/build.ts:141
↓ 1 callers
Method
read
()
src/readme-generator.ts:176
↓ 1 callers
Function
removeLockfiles
(c: BuildConfig)
src/tarballs/build.ts:133
↓ 1 callers
Method
renderCommand
(c: Command.Cached, HelpClass: HelpBaseDerived)
src/readme-generator.ts:180
↓ 1 callers
Method
repo
(plugin: Interfaces.Plugin)
src/readme-generator.ts:324
↓ 1 callers
Function
setBins
()
test/integration/init.test.ts:105
↓ 1 callers
Function
setBins
()
test/integration/cli.test.ts:39
↓ 1 callers
Function
signWindows
( o: string, arch: string, config: Interfaces.Config, windows: Interfaces.OclifConfiguration['windows'
src/commands/pack/win.ts:374
↓ 1 callers
Function
sortBy
(arr: T[], fn: (i: T) => Types | Types[])
src/util.ts:50
↓ 1 callers
Function
sortVersionsObjectByKeysDesc
(input: VersionsObject, keyLimit?: number)
src/version-indexes.ts:15
↓ 1 callers
Function
updatePJSON
(c: BuildConfig)
src/tarballs/build.ts:152
↓ 1 callers
Function
validateInput
(input: string, validate: (input: string) => boolean | string)
src/generator.ts:76
↓ 1 callers
Function
writeBinScripts
({ baseWorkspace, config, nodeOptions, nodeVersion, }: { baseWorkspace: string config: Interfaces.
src/tarballs/bin.ts:10
↓ 1 callers
Function
writeUnix
()
src/tarballs/bin.ts:49
Method
arg
(arg: Command.Arg.Cached)
src/readme-generator.ts:304
Function
buildConfig
( root: string, options: {sha?: string; targets?: string[]; xz?: boolean} = {}, )
src/tarballs/config.ts:64
Method
cloudBucketCommitKey
(shortKey: string)
src/commands/promote.ts:59
next →
1–100 of 174, ranked by callers