Title: Dont ask for OVERWRITE if the filepath does not exist · Issue #428 · stackitcloud/stackit-cli · GitHub
Open Graph Title: Dont ask for OVERWRITE if the filepath does not exist · Issue #428 · stackitcloud/stackit-cli
X Title: Dont ask for OVERWRITE if the filepath does not exist · Issue #428 · stackitcloud/stackit-cli
Description: Doing: ➜ ~ rm .kube/custom-contexts/inttestv128.yaml ➜ ~ ll .kube/custom-contexts/inttestv128.yaml ls: .kube/custom-contexts/inttestv128.yaml: No such file or directory ➜ ~ s ske kubeconfig create inttestv128 --filepath ~/.kube/custom-co...
Open Graph Description: Doing: ➜ ~ rm .kube/custom-contexts/inttestv128.yaml ➜ ~ ll .kube/custom-contexts/inttestv128.yaml ls: .kube/custom-contexts/inttestv128.yaml: No such file or directory ➜ ~ s ske kubeconfig create ...
X Description: Doing: ➜ ~ rm .kube/custom-contexts/inttestv128.yaml ➜ ~ ll .kube/custom-contexts/inttestv128.yaml ls: .kube/custom-contexts/inttestv128.yaml: No such file or directory ➜ ~ s ske kubeconfig create ...
Opengraph URL: https://github.com/stackitcloud/stackit-cli/issues/428
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dont ask for OVERWRITE if the filepath does not exist","articleBody":"Doing:\r\n\r\n```\r\n➜ ~ rm .kube/custom-contexts/inttestv128.yaml\r\n➜ ~ ll .kube/custom-contexts/inttestv128.yaml\r\nls: .kube/custom-contexts/inttestv128.yaml: No such file or directory\r\n➜ ~ s ske kubeconfig create inttestv128 --filepath ~/.kube/custom-contexts/inttestv128.yaml\r\nAre you sure you want to create a kubeconfig for SKE cluster \"inttestv128\"? This will OVERWRITE your current kubeconfig file, if it exists. [y/N] y\r\nCreated kubeconfig file for cluster inttestv128 in \"/Users/stier/.kube/custom-contexts/inttestv128.yaml\", with expiration date 2024-07-26T08:08:00Z (UTC)\r\n➜ ~\r\n```\r\nThe cli gives a warning to overwrite the config file if it exists and have a default: No.\r\nThis is very nice, but absolut unnecessary if the file des not exist.\r\n\r\nExpected behaviour:\r\nJust write the file and avoid unnecessary user interaction.","author":{"url":"https://github.com/slm0n87","@type":"Person","name":"slm0n87"},"datePublished":"2024-07-26T07:09:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/428/stackit-cli/issues/428"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67e03316-7476-283c-412d-a18760fe347e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C628:1580D:23419D6:2E5231C:698199E5 |
| html-safe-nonce | 32d6e0fd0119aa34889b84470ac0d10cb80847e7e9fa9be30ea24b920e5e4495 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjI4OjE1ODBEOjIzNDE5RDY6MkU1MjMxQzo2OTgxOTlFNSIsInZpc2l0b3JfaWQiOiI3NzcwNjQ2NzM3MTI3MDUzNzk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1b1b97dc3190ee6f9293ea931c5347eac1d45a223de91941795c81e9bc6e9f10 |
| hovercard-subject-tag | issue:2431579670 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackitcloud/stackit-cli/428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/882e8e0b8bda913bd8cfa4e11e16a6869c3fe1add824cc9f9d5e5da668024440/stackitcloud/stackit-cli/issues/428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/882e8e0b8bda913bd8cfa4e11e16a6869c3fe1add824cc9f9d5e5da668024440/stackitcloud/stackit-cli/issues/428 |
| og:image:alt | Doing: ➜ ~ rm .kube/custom-contexts/inttestv128.yaml ➜ ~ ll .kube/custom-contexts/inttestv128.yaml ls: .kube/custom-contexts/inttestv128.yaml: No such file or directory ➜ ~ s ske kubeconfig create ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slm0n87 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| turbo-cache-control | no-preview |
| go-import | github.com/stackitcloud/stackit-cli git https://github.com/stackitcloud/stackit-cli.git |
| octolytics-dimension-user_id | 55577607 |
| octolytics-dimension-user_login | stackitcloud |
| octolytics-dimension-repository_id | 699237555 |
| octolytics-dimension-repository_nwo | stackitcloud/stackit-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 699237555 |
| octolytics-dimension-repository_network_root_nwo | stackitcloud/stackit-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width