chore: provide `indent` option for `print` (#18474)