slophammer
(Work in progress) Boilerplate reference implementations and tooling for coding projects, across different languages
File Explorer
- ci.yml
- go-release.yml
- mutation.yml
- python-release.yml
- rust-release-dry-run.yml
- rust-release.yml
- typescript-release.yml
- unclebob_hammer.jpg
- 2026-02-01-a-warning.md
- 2026-02-10-its-a-good-thing.md
- 2026-04-18-rule-files.md
- 2026-04-20-ai-out-codes-you.md
- 2026-04-21-quicksilver.md
- 2026-04-22-unit-testing.md
- 2026-04-24-crap.md
- 2026-04-26-ai-slop.md
- 2026-04-28-power-tools.md
- 2026-05-05-mutation-testing.md
- 2026-05-06-disengage-from-the-syntax.md
- 2026-05-12-transcript-index.md
- 2026-05-12-uncle-bob-github-projects.md
- 2026-05-12-guardrails.md
- 2026-05-15-unified-dry-engine-plan.md
- 2026-05-16-typescript-implementation.md
- 2026-05-17-release-hardening-roadmap.md
- 2026-05-17-required-next-work.md
- 2026-05-18-tool-agnostic-typescript-validation.md
- 2026-05-19-go-coverage-artifact-contract.md
- 2026-05-19-go-target-resolution.md
- 2026-06-08-rust-cli-only-cargo-publish-plan.md
- 2026-06-08-rust-implementation-plan.md
- 2026-06-10-audit-followups.md
- 2026-06-10-config-dialect-decision.md
- 2026-06-11-enforcement-and-adoption-plan.md
- 2026-06-12-python-checker-plan.md
- 2026-08-24-reasoned-rule-disabling-plan.md
- ACCEPTANCE_TESTS.md
- AGENT_ENTRYPOINT.md
- AGENTIC_CODE_QUALITY.md
- COVERAGE_AND_CRAP.md
- DEPENDENCY_CHECKS.md
- DRY.md
- DUPLICATION_DETECTION.md
- IMPLEMENTATION_MODEL.md
- MUTATION_TESTING.md
- POWER_TOOLS.md
- RULE_FILES.md
- STRUCTURAL_REVIEW.md
- UNCLE_BOB_CONCEPTS.md
- UNIT_TESTS.md
- adoption-after.json
- adoption-before.json
- clean.json
- go-bad-dependency.json
- go-bare-suppression.json
- go-carved-scope.json
- go-clean.json
- go-disabled-mutation.json
- go-missing-complexity.json
- go-missing-coverage.json
- go-missing-crap.json
- go-missing-dry.json
- go-missing-lint.json
- go-missing-module.json
- go-missing-mutation.json
- go-missing-tests.json
- go-missing-vet.json
- go-neutralized-ci.json
- go-scan-mutation.json
- go-unreachable-script.json
- missing-agents.json
- missing-ci.json
- missing-readme.json
- python-bad-dependency.json
- python-bare-suppression.json
- python-carved-scope.json
- python-clean.json
- python-demoted-rule.json
- python-disabled-mutation.json
- python-missing-audit.json
- python-missing-complexity.json
- python-missing-coverage.json
- python-missing-dry.json
- python-missing-format.json
- python-missing-lint.json
- python-missing-mutation.json
- python-missing-project.json
- python-missing-tests.json
- python-missing-typecheck.json
- python-neutralized-ci.json
- python-relative-imports.json
- python-results-mutation.json
- python-soft-warnings.json
- python-unreachable-script.json
- reasoned-disabled-rule.json
- rust-bad-dependency.json
- rust-bare-suppression.json
- rust-carved-scope.json
- rust-clean.json
- rust-disabled-mutation.json
- rust-list-mutation.json
- rust-missing-audit.json
- rust-missing-ci.json
- rust-missing-clippy.json
- rust-missing-coverage.json
- rust-missing-dry.json
- rust-missing-fmt.json
- rust-missing-msrv.json
- rust-missing-mutation.json
- rust-missing-tests.json
- rust-neutralized-ci.json
- rust-unreachable-script.json
- rust-unsafe.json
- typescript-bad-dependency.json
- typescript-bare-suppression.json
- typescript-carved-scope.json
- typescript-clean.json
- typescript-disabled-mutation.json
- typescript-dryrun-mutation.json
- typescript-duplicate-blocks.json
- typescript-missing-any-rule.json
- typescript-missing-complexity.json
- typescript-missing-coverage.json
- typescript-missing-dry.json
- typescript-missing-format.json
- typescript-missing-lint.json
- typescript-missing-mutation.json
- typescript-missing-package.json
- typescript-missing-strict.json
- typescript-missing-tests.json
- typescript-missing-typecheck.json
- typescript-missing-unsafe-types.json
- typescript-neutralized-ci.json
- typescript-unreachable-script.json
- unenforced-config.json
- ci.yml
- index.ts
- index.test.ts
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- SLOPHAMMER_REMEDIATION.md
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- slophammer-baseline.json
- ci.yml
- AGENTS.md
- slophammer-baseline.json
- ci.yml
- AGENTS.md
- README.md
- slophammer-baseline.json
- index.ts
- package.json
- README.md
- SLOPHAMMER_REMEDIATION.md
- tsconfig.json
- ci.yml
- AGENTS.md
- README.md
- ci.yml
- AGENTS.md
- slophammer.yml
- ci.yml
- AGENTS.md
- slophammer-baseline.json
- slophammer.yml
- ci.yml
- repo.go
- repo_test.go
- rules.go
- check-go-coverage.sh
- .golangci.yml
- go.mod
- AGENTS.md
- README.md
- slophammer.yml
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- go.mod
- lib.go
- main.go
- main_test.go
- AGENTS.md
- README.md
- ci.yml
- corner.go
- check-go-coverage.sh
- .golangci.yml
- go.mod
- main.go
- main_test.go
- AGENTS.md
- README.md
- slophammer.yml
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- go.mod
- main.go
- main_test.go
- AGENTS.md
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- slophammer.yml
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- AGENTS.md
- go.mod
- main.go
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- go.mod
- main.go
- main_test.go
- AGENTS.md
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- go.mod
- main.go
- main_test.go
- AGENTS.md
- README.md
- ci.yml
- check-go-coverage.sh
- .golangci.yml
- go.mod
- main.go
- main_test.go
- gate.sh
- AGENTS.md
- README.md
- ci.yml
- README.md
- AGENTS.md
- README.md
- ci.yml
- AGENTS.md
- ci.yml
- __init__.py
- main.py
- __init__.py
- util.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- extra.py
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- helpers.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- gates.sh
- __init__.py
- main.py
- AGENTS.md
- pyproject.toml
- README.md
- slophammer.yml
- ty.toml
- ci.yml
- AGENTS.md
- slophammer.yml
- ci.yml
- lib.rs
- Cargo.toml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- extra.rs
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- README.md
- slophammer.yml
- ci.yml
- gate.sh
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- lib.rs
- AGENTS.md
- Cargo.toml
- clippy.toml
- README.md
- slophammer.yml
- ci.yml
- app.ts
- repo.ts
- rules.ts
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- sup.ts
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- x.ts
- code.ts
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- duplicates.ts
- AGENTS.md
- package.json
- README.md
- slophammer.yml
- tsconfig.json
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- eslint.config.mjs
- package.json
- README.md
- slophammer.yml
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- ci.yml
- AGENTS.md
- README.md
- slophammer.yml
- main.go
- main.go
- app.go
- app_test.go
- baseline.go
- baseline_test.go
- go_tool_roots.go
- go_tool_roots_test.go
- cli.go
- cli_test.go
- config.go
- config_test.go
- copied_blocks.go
- dry.go
- dry_test.go
- groups.go
- normalize_test.go
- report.go
- report_test.go
- structural.go
- targets.go
- targets_test.go
- gotools.go
- gotools_test.go
- snapshot.go
- snapshot_test.go
- report.go
- report_test.go
- dependency_boundaries_test.go
- go_command_detection_test.go
- go_command_files.go
- go_command_helpers_test.go
- go_config.go
- go_coverage_rule_test.go
- go_dependency_boundaries.go
- go_lint_config_test.go
- go_module_scoping_test.go
- go_patterns.go
- go_project_scope.go
- go_rules.go
- go_scope.go
- go_scope_test.go
- go_slophammer_ci.go
- go_slophammer_ci_test.go
- go_suppressions.go
- go_suppressions_test.go
- go_tool_commands.go
- go_tool_declarations_test.go
- go_workflow_binding.go
- go_workflow_binding_filter_test.go
- go_workflow_scoping_test.go
- policy.go
- policy_test.go
- rules.go
- rules_test.go
- scan.go
- scan_test.go
- coverage_profile.go
- mutation.go
- toolchecks.go
- toolchecks_test.go
- check-go-coverage.sh
- check-go-install.sh
- .gitignore
- .golangci.yml
- go.mod
- go.sum
- README.md
- check-mutation.py
- __init__.py
- boundaries.py
- definitions.py
- evidence.py
- imports.py
- scope.py
- suppressions.py
- toolconfig.py
- __init__.py
- app.py
- baseline.py
- cli.py
- config.py
- core.py
- dry.py
- py.typed
- repo.py
- report.py
- rule_policy.py
- scan.py
- toolchecks.py
- ty_rules.json
- test_baseline.py
- test_cli.py
- test_config_errors.py
- test_dry.py
- test_imports.py
- test_repo_evidence.py
- test_report.py
- test_rule_policy.py
- test_rules.py
- test_suppressions.py
- test_toolchecks.py
- test_types_strict.py
- py.typed
- pyproject.toml
- README.md
- ty.toml
- uv.lock
- boundaries.rs
- definitions.rs
- dry.rs
- evidence.rs
- mod.rs
- scope.rs
- suppressions.rs
- unsafe_policy.rs
- workflow_binding.rs
- app.rs
- baseline.rs
- config.rs
- core.rs
- exec.rs
- main.rs
- report.rs
- rule_policy.rs
- scan.rs
- fixtures.rs
- cli.rs
- Cargo.toml
- install-packaged-cli.sh
- publish-crate.sh
- test-packaged-crate.sh
- Cargo.lock
- Cargo.toml
- clippy.toml
- README.md
- check-conformance.mjs
- check-doc-links.mjs
- extract-ty-rules.py
- BASELINE.md
- CONFIG.md
- EXIT_CODES.md
- PRODUCT.md
- REPORT_FORMAT.md
- rules.json
- RULES.md
- ty-rules.json
- main.go
- greeting.go
- greeting_test.go
- .gitignore
- .golangci.yml
- go.mod
- README.md
- __init__.py
- greeting.py
- test_greeting.py
- .gitignore
- pyproject.toml
- README.md
- greeting.ts
- greeting.test.ts
- .gitignore
- .prettierrc.json
- eslint.config.mjs
- package-lock.json
- package.json
- README.md
- tsconfig.json
- check-package-bin.ts
- app.ts
- baseline.ts
- cli.ts
- main.ts
- config.ts
- copied-blocks.ts
- dry.ts
- files.ts
- report.ts
- tokenize.ts
- types.ts
- repo.ts
- report.ts
- command-content.ts
- definitions.ts
- dependency-boundaries.ts
- eslint-values.ts
- mutation-evidence.ts
- oxlint-evidence.ts
- package-scripts.ts
- policy.ts
- project-evidence.ts
- project-scope.ts
- rules.ts
- scope.ts
- source-paths.ts
- suppressions.ts
- types.ts
- typescript-config.ts
- scan.ts
- toolchecks.ts
- alternate-toolchains.test.ts
- app-execute-filter.test.ts
- app.test.ts
- baseline.test.ts
- cli-check-options.test.ts
- cli.test.ts
- config-coverage.test.ts
- config-excludes.test.ts
- config.test.ts
- dependency-boundaries.test.ts
- dry-report.test.ts
- dry.test.ts
- equivalence.test.ts
- eslint-rules.test.ts
- files.test.ts
- formatter-evidence.test.ts
- helpers.ts
- metadata.test.ts
- project-detection.test.ts
- project-oxlint.test.ts
- project-scopes.test.ts
- repo-evidence.test.ts
- report.test.ts
- rule-policy.test.ts
- rules.test.ts
- scan.test.ts
- scope.test.ts
- slophammer-ci.test.ts
- static-regressions.test.ts
- suppressions.test.ts
- toolchecks-complexity.test.ts
- toolchecks-execute-filter.test.ts
- toolchecks-script-expansion.test.ts
- toolchecks.test.ts
- .gitignore
- .prettierignore
- .prettierrc.json
- eslint.config.mjs
- package-lock.json
- package.json
- README.md
- stryker.conf.json
- tsconfig.json
- vitest.config.ts
- vitest.stryker.config.ts
- .gitignore
- .pre-commit-hooks.yaml
- action.yml
- AGENTS.md
- LICENSE
- Makefile
- README.md
- slophammer.yml
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cargo check
View Details ▼
cargo check
Check a local package and all of its dependencies for errors.
cargo {{[c|check]}}
Check the current package:
cargo {{[c|check]}} --tests
Check all tests:
cargo {{[c|check]}} --test {{integration_test1}}
Check the integration tests in `tests/integration_test1.rs`:
cargo clippy
View Details ▼
cargo clippy
A collection of lints to catch common mistakes and improve your Rust code.
cargo clippy
Run checks over the code in the current directory:
cargo clippy --locked
Require that `Cargo.lock` is up to date:
cargo clippy --workspace
Run checks on all packages in the workspace:
cargo fmt
View Details ▼
cargo fmt
Run `rustfmt` on all source files in a Rust project.
See also: `rustfmt`.
cargo fmt
Format all source files:
cargo fmt --check
Check for formatting errors without writing to the files:
cargo fmt -- {{rustfmt_args}}
Pass arguments to each `rustfmt` call:
cargo install
View Details ▼
cargo install
Build and install a Rust binary.
cargo install {{package}}@{{version}}
Install a package from <https://crates.io> (the version is optional - latest by default):
cargo install --git {{repo_url}}
Install a package from the specified Git repository:
cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}
Build from the specified branch/tag/commit when installing from a Git repository:
cargo test
View Details ▼
cargo test
Execute the unit and integration tests of a Rust package.
cargo {{[t|test]}} {{test_name}}
Only run tests containing a specific string in their names:
cargo {{[t|test]}} -- --test-threads {{count}}
Set the number of simultaneous running test cases:
cargo {{[t|test]}} {{[-r|--release]}}
Test artifacts in release mode, with optimizations:
go install
View Details ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
go run
View Details ▼
go run
Compile and run Go code without saving a binary.
go run {{path/to/file.go}}
Run a Go file:
go run {{path/to/package}}
Run a main Go package:
go test
View Details ▼
go test
Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go test
Test the package found in the current directory:
go test -v
[v]erbosely test the package in the current directory:
go test -v ./...
Test the packages in the current directory and all subdirectories:
go vet
View Details ▼
go vet
Check Go source code and report suspicious constructs (e.g. lint your Go source files).
Go vet returns a non-zero exit code if problems are found; returns a zero exit code if no problems are found.
go vet
Check the Go package in the current directory:
go vet {{path/to/file_or_directory}}
Check the Go package in the specified path:
go tool vet help
List available checks that can be run with go vet:
golangci-lint
View Details ▼
golangci-lint
Parallelized, smart, and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.
golangci-lint run
Run linters in the current folder:
golangci-lint linters
List enabled and disabled linters (Note: Disabled linters are shown last, do not mistake them for enabled ones):
golangci-lint run {{[-E|--enable]}} {{linter}}
Enable a specific linter for this run:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npx
View Details ▼
npx
This command is an alias of `npm exec`.
tldr npm exec
View documentation for the original command:
tsc
View Details ▼
tsc
TypeScript compiler.
tsc --init
Initialize a TypeScript project:
tsc {{path/to/file.ts}}
Compile a TypeScript file into a JavaScript file with the same name:
tsc {{[-t|--target]}} {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...}} {{path/to/file.ts}}
Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`):
uv tool
View Details ▼
uv tool
Install and run commands provided by Python packages.
uv tool run {{command}}
Run a command from a package, without installing it:
uv tool install {{package}}
Install a Python package system-wide:
uv tool upgrade {{package}}
Upgrade an installed Python package:
uvx
View Details ▼
uvx
This command is an alias of `uv tool run`.
tldr uv tool
View documentation for the original command:
