Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new tk tool importers-count #1232

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Commits on Nov 15, 2024

  1. feat: new tk tool imported-count

    This is useful to find which files are used widely and which aren't used at all
    Example:
    ```
    julienduchesne@triceratops ksonnet % tk tool imported-count lib/meta
    lib/meta/clusters.libsonnet: 523
    lib/meta/certificates.libsonnet: 257
    lib/meta/namespaces.libsonnet: 249
    lib/meta/teams.libsonnet: 248
    lib/meta/environment.libsonnet: 231
    lib/meta/envs.libsonnet: 229
    lib/meta/functions.libsonnet: 229
    lib/meta/remote_write.libsonnet: 71
    lib/meta/cells.libsonnet: 70
    lib/meta/networking.libsonnet: 5
    lib/meta/datasources.libsonnet: 3
    lib/meta/alerting.libsonnet: 2
    lib/meta/repositories.libsonnet: 1
    ```
    julienduchesne committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    561b3bd View commit details
    Browse the repository at this point in the history
  2. Rename command

    julienduchesne committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    7b63af8 View commit details
    Browse the repository at this point in the history